Merge pull request 'clan-cli: fix error message if registering parser fails' (#75) from mic92 into main
All checks were successful
build / test (push) Successful in 8s
All checks were successful
build / test (push) Successful in 8s
This commit is contained in:
commit
7fa6808478
@ -24,8 +24,8 @@ def main() -> None:
|
|||||||
parser_config = subparsers.add_parser("config")
|
parser_config = subparsers.add_parser("config")
|
||||||
try:
|
try:
|
||||||
config.register_parser(parser_config)
|
config.register_parser(parser_config)
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError as e:
|
||||||
warn("The config command does not in the nix sandbox")
|
warn(f"The config command does not work in the nix sandbox: {e}")
|
||||||
|
|
||||||
parser_ssh = subparsers.add_parser("ssh", help="ssh to a remote machine")
|
parser_ssh = subparsers.add_parser("ssh", help="ssh to a remote machine")
|
||||||
ssh.register_parser(parser_ssh)
|
ssh.register_parser(parser_ssh)
|
||||||
|
Loading…
Reference in New Issue
Block a user