diff --git a/src/types/mod.ts b/src/types/mod.ts new file mode 100644 index 0000000..d5d98aa --- /dev/null +++ b/src/types/mod.ts @@ -0,0 +1 @@ +export type { TimerOptions } from './options.ts'; diff --git a/src/types/options.ts b/src/types/options.ts new file mode 100644 index 0000000..a8c617e --- /dev/null +++ b/src/types/options.ts @@ -0,0 +1,12 @@ +export interface TimerOptions { + name?: string; + exec: string; + calendar: string; + description?: string; + user?: boolean; + output?: string; + after?: string[]; + environment?: string[]; + logfile?: string; + dryRun?: boolean; +}