@codingtools/cdt
Version:
CLI for Developers
50 lines (49 loc) • 1.37 kB
TypeScript
import { Command, flags } from '@oclif/command';
export default class Cron extends Command {
static description: string;
static RUN: string;
static DESCRIBE: string;
static PRESET_DEFAULT: {
preset: string;
override: {
useAliases: boolean;
useBlankDay: boolean;
};
};
static PRESET_DEFAULT_WITH_SECONDS: {
preset: string;
override: {
useSeconds: boolean;
useAliases: boolean;
useBlankDay: boolean;
};
};
static PRESET_DEFAULT_WITH_SECONDS_AND_YEARS: {
preset: string;
override: {
useSeconds: boolean;
useYears: boolean;
useAliases: boolean;
useBlankDay: boolean;
};
};
static VALIDATOR_OPTIONS: {
seconds: boolean;
allowBlankDay: boolean;
alias: boolean;
allowSevenAsSunday: boolean;
};
static flags: {
help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
string: flags.IOptionFlag<string | undefined>;
describe: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
run: flags.IOptionFlag<string | undefined>;
};
static args: {
name: string;
}[];
run(): Promise<void>;
private checkParameters;
private evalCron;
private getAction;
}