Commit log

7fb565c Add code generator for restic commands and flags

Click to expand commit body
Add cmd/gen-restic-cmds, a tool that parses restic's generated man
pages and produces a Go source file mapping every subcommand to its
accepted flags. Types and generated output live in internal/restic.

Amolith created

95a69c0 Reorganise examples directory with systemd integration

Amolith created

af9da27 Ignore root binary

Amolith created

724e36b Poke to check restic --help

Amolith created

32efceb Skip interactive prompts when preset already provides the values

Amolith created

7670305 Rename pika to keld across the codebase

Amolith created

ac0adc1 Generate usable preset names from config fragments

Click to expand commit body
Rework presetsFrom() to combine prefix@ and @suffix sections into
invocable preset names rather than returning raw TOML section keys.
Expose Prefixes() and Suffixes() for shell completion. Completions now
list prefixes first and complete suffixes after typing prefix@<tab>.

Validate preset names on the non-interactive CLI path so unknown
presets fail fast with a clear error listing available options.

Map the 'repository' config key to restic's actual --repo flag.

Quote every argument in dry-run output so arg boundaries are
unambiguous when values contain spaces.

Amolith created

f441396 Add preset selector and command input forms

Amolith created

2d45867 Use quiet test output in check task

Amolith created

5214793 Add jj fix task for gofumpt to mise.toml

Amolith created

44cd62d Add .gitignore

Amolith created

0d191ce Initial commit

Amolith created