feat(cli): add command to generate systemd unit files

- Introduces a CLI tool for creating systemd .timer and .service units
- Adds options for configuring unit names, commands, scheduling, and more
- Supports dry-run mode and user-level unit file generation
This commit is contained in:
2025-05-21 03:01:21 +02:00
parent 569b14d574
commit 97dc3fe23a
2 changed files with 48 additions and 0 deletions

9
src/cli/main.ts Normal file
View File

@@ -0,0 +1,9 @@
import { Command } from '@cliffy/command';
import { createCommand } from './create.ts';
await new Command()
.name('systemd-timer')
.version('0.1.0')
.description('CLI Tool zum Erzeugen von systemd .timer und .service Units')
.command('create', createCommand)
.parse(Deno.args);