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
This commit is contained in:
2025-05-28 14:24:28 +02:00
parent f112002249
commit 113103f368
4 changed files with 86 additions and 6 deletions

View File

@@ -4,6 +4,9 @@ export interface TimerOptions {
calendar: string;
description?: string;
user?: boolean;
runAs?: string;
home?: string;
cwd?: string;
output?: string;
after?: string[];
environment?: string[];