@codingtools/cdt
Version:
CLI for Developers
23 lines (22 loc) • 710 B
TypeScript
import { Command, flags } from '@oclif/command';
export default class Datetime extends Command {
static description: string;
static defaultFormat: string;
static flags: {
help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
date: flags.IOptionFlag<string | undefined>;
format: flags.IOptionFlag<string | undefined>;
timezone: flags.IOptionFlag<string | undefined>;
locale: flags.IOptionFlag<string | undefined>;
};
static args: {
name: string;
}[];
run(): Promise<void>;
private getTimezone;
private getLocale;
private getDateString;
private getMomentDate;
private checkParameters;
private getFormat;
}