@sanity-codegen/cli
Version:
CLI for sanity-codegen
19 lines • 820 B
TypeScript
/// <reference types="@sanity-codegen/types/common" />
import { Command, flags } from '@oclif/command';
import * as Parser from '@oclif/parser';
export default class SchemaCodegen extends Command {
logger: Sanity.Codegen.Logger;
static description: string;
static flags: {
help: Parser.flags.IBooleanFlag<void>;
configPath: flags.IOptionFlag<string | undefined>;
babelrcPath: flags.IOptionFlag<string | undefined>;
babelOptions: flags.IOptionFlag<string | undefined>;
root: flags.IOptionFlag<string | undefined>;
schemaTypesOutputPath: flags.IOptionFlag<string | undefined>;
schemaJsonOutputPath: flags.IOptionFlag<string | undefined>;
};
static args: Parser.args.IArg[];
run(): Promise<void>;
}
//# sourceMappingURL=schema-codegen.d.ts.map