Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions src/cfengine_cli/cfengine_wrapper/arg_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,16 @@ def parse_wrapper_args(subp: argparse._SubParsersAction):
default=None,
)

subp.add_parser("build", help="Build a policy set from a CFEngine Build project\n\
A wrapper arount the cfbs `build`-function.")
sp = subp.add_parser("deploy", help="Deploy policy-set (masterfiles) to hub\n\
A wrapper around the cf-remote `deploy`-function with some added niceties.")
subp.add_parser(
"build",
help="""Build a policy set from a CFEngine Build project.
A wrapper around the cfbs `build`-function.""",
)
sp = subp.add_parser(
"deploy",
help="""Deploy policy-set (masterfiles) to hub.
A wrapper around the cf-remote `deploy`-function with some added niceties.""",
)
sp.add_argument("--hub", help="Hub(s) to deploy to", type=str)
sp.add_argument(
"masterfiles",
Expand Down