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
Jörg Thalheim
5dcac604d1
backup cli: make sure we have a flake
2024-05-29 10:14:14 +02:00
Jörg Thalheim
539df08706
backups: skip preRestore and postRestore if not specified by a service
2024-03-20 09:32:01 +01:00
Jörg Thalheim
aa659bcc17
backups: no longer interpret backup interface as bash commands
2024-03-20 09:32:01 +01:00
Jörg Thalheim
92ac151292
rework backup interface to no longer need to list backups to restore them
2024-03-20 09:32:01 +01:00
Jörg Thalheim
2560eef424
backups: don't export all local environment over ssh
2024-03-20 08:29:05 +00:00
Jörg Thalheim
9383e41d68
make backup provider more generic
2024-03-20 08:29:05 +00:00
Jörg Thalheim
12ce8238f1
print backup archive ids instead of bare objects
2024-02-22 15:26:20 +01:00
Jörg Thalheim
2315dba2a9
rename machine.host to machine.target_host
2024-02-06 17:21:42 +01:00
lassulus
3284224440
clan-cli backups: use new machine class for eval
2024-01-24 15:49:12 +01:00
lassulus
6b004fca6f
machines.Machine: refactor flake_dir -> flake; use Machine class in vm
2024-01-24 15:49:12 +01:00
lassulus
dec431e69f
backups: support services for restore
2023-12-08 19:09:29 +01:00
lassulus
cf68bd41d6
backups: implement list/create and dry-run restore
2023-12-07 18:23:22 +01:00
lassulus
45e9ab45f7
backups: implement list the easy way
2023-12-07 13:22:41 +01:00
Jörg Thalheim
807b53c71b
modernize code with ruff
2023-12-06 17:13:58 +01:00
lassulus
e772d29f44
implement backup cli for borgbackup
2023-12-04 17:47:23 +01:00
lassulus
4ace326aeb
add dummy backups cli
2023-11-28 13:23:48 +01:00