Files
systemd-timer/src/types/options.ts
Max P. 113103f368 feat(cli): add options for user, home, and working directory
- Add `--run-as` option to specify user for system-wide timers
- Add `--home` option to set the HOME environment variable
- Add `--cwd` option to define the working directory
- Update tests to validate new options and behavior
2025-05-28 14:26:02 +02:00

16 lines
311 B
TypeScript

export interface TimerOptions {
name?: string;
exec: string;
calendar: string;
description?: string;
user?: boolean;
runAs?: string;
home?: string;
cwd?: string;
output?: string;
after?: string[];
environment?: string[];
logfile?: string;
dryRun?: boolean;
}