Commit Graph

10 Commits

Author SHA1 Message Date
a-kenji
cfd809581d clan: fix backup provider completions 2024-06-07 19:16:13 +00:00
a-kenji
0c09fcbbda 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
ece426f8b0 clan: fix backup description 2024-06-05 11:35:04 +02:00
a-kenji
99008e1e3a clan: add dynamic completion function for backup providers 2024-06-05 09:23:02 +00:00
a-kenji
37b620257f clan: add dynamic completions for secret groups 2024-06-04 13:30:38 +02:00
a-kenji
43d2644a99 clan: add completion function for clan users 2024-06-04 13:30:11 +02:00
a-kenji
cc401675fe clan: add dyncamic completions for secrets 2024-06-03 21:47:14 +02:00
a-kenji
a15286c709 clan: add dynamic completions for fact generation services 2024-05-31 15:21:07 +02:00
a-kenji
af0f628f35 clan: add completion timeout as static 2024-05-31 13:06:46 +02:00
a-kenji
32a20caad4 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