Commit Graph

12 Commits

Author SHA1 Message Date
a-kenji
3bcaeda737 cli: add command to list state
Add a subcommand to list configured state for a specific machine.

Example:
```
$ clan state list [MACHINE]
```
2024-06-25 09:34:31 +00:00
DavHau
313db5643f refactor: rename clanCore -> clan.core 2024-06-18 18:32:40 +07:00
a-kenji
a7f724a804 clan: fix backup provider completions 2024-06-07 19:16:13 +00:00
a-kenji
49e67ac46c clan: improve machine completions
In recent nix versions the `nix flake show` command busts the eval
cache, which made the function that used to be faster, slower.

On benchmarks the completion was around 180-200ms.
2024-06-05 13:32:23 +02:00
a-kenji
fab311b53a clan: fix backup description 2024-06-05 11:35:04 +02:00
a-kenji
b4699cd8a3 clan: add dynamic completion function for backup providers 2024-06-05 09:23:02 +00:00
a-kenji
d4fabff7f4 clan: add dynamic completions for secret groups 2024-06-04 13:30:38 +02:00
a-kenji
e7e5a1ded8 clan: add completion function for clan users 2024-06-04 13:30:11 +02:00
a-kenji
31eca9e8bc clan: add dyncamic completions for secrets 2024-06-03 21:47:14 +02:00
a-kenji
bcccf301f0 clan: add dynamic completions for fact generation services 2024-05-31 15:21:07 +02:00
a-kenji
d31aa7cf88 clan: add completion timeout as static 2024-05-31 13:06:46 +02:00
a-kenji
23ef39a2d9 clan: add dynamic completions
Add dynamic completion scaffolding to the clan `cli`.
Also add a dynamic completion mechanism for machines for commands that
have machines as their sole argument.

More intricate dynamic completions will be implemented in follow up
PR's.
2024-05-31 12:55:41 +02:00