clan-cli secrets: flake_name -> flake_dir #450
No reviewers
Labels
No Label
backups
blog
bootstrapping
bug
changes-requested
cli
documentation
duplicate
enhancement
facts
help wanted
invalid
Inventory
low_prio
manager
modules
needs-review
networking
packaging
question
secrets
template
test
tooling
user-testing
vm
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: clan/clan-core#450
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "flakes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
b161f7b536
tod306c6d26c
d306c6d26c
to71a00c1294
71a00c1294
to7486bb5b5a
7486bb5b5a
to92acd52518
92acd52518
to8dc9d21422
8dc9d21422
to96e073e7d2
96e073e7d2
to48fed09c62
48fed09c62
to7b3d3e20b4
WIP: fix flakesto fix flakesfix flakesto clan-cli secrets: flake_name -> flake_dir@ -53,6 +54,12 @@ def create_parser(prog: Optional[str] = None) -> argparse.ArgumentParser:
default=[],
)
parser.add_argument(
A global flag would be nice, argparse can do that with parent parse feature: https://stackoverflow.com/questions/23296695/permit-argparse-global-flags-after-subcommand
@ -39,3 +38,3 @@
def upload_command(args: argparse.Namespace) -> None:
machine = Machine(name=args.machine, flake_dir=specific_flake_dir(args.flake))
machine = Machine(name=args.machine, flake_dir=args.flake)
weird, args.flake is a string but flake_dir is defined as a path