Wit the new code, do we need to go add in specific help text? Note below
that help text for commands is missing.
– bk
[bkearney@bkearney hammer-cli]$ bundle exec bin/hammer -u admin -p
changeme product
Usage:
hammer product [OPTIONS] SUBCOMMAND [ARG] …
Parameters:
SUBCOMMAND subcommand
[ARG] … subcommand arguments
Subcommands:
create
delete
info
list
remove_sync_plan Delete assignment sync plan and product.
set_sync_plan Assign sync plan to product.
update
Options:
-h, --help print help
(reverse-i-search)`do': su^C service postgresql start
[bkearney@bkearney hammer-cli]$ bundle exec bin/hammer -u admin -p
changeme domain
Usage:
hammer domain [OPTIONS] SUBCOMMAND [ARG] …
Parameters:
SUBCOMMAND subcommand
[ARG] … subcommand arguments
Subcommands:
create
delete
delete-parameter Delete parameter for a domain.
info
list
set-parameter Create or update parameter for a domain.
update
Options:
-h, --help print help
some of the help text could be inherited from parent classes, etc.
for each of these commands, you can add a desc
directive if one isn't there already.
class CreateCommand < HammerCLIKatello::CreateCommand
desc _("create a product")
…
end
···
----- Original Message -----
>
> Wit the new code, do we need to go add in specific help text? Note below
> that help text for commands is missing.
>
> -- bk
>
>
> [bkearney@bkearney hammer-cli]$ bundle exec bin/hammer -u admin -p
> changeme product
> Usage:
> hammer product [OPTIONS] SUBCOMMAND [ARG] ...
>
> Parameters:
> SUBCOMMAND subcommand
> [ARG] ... subcommand arguments
>
> Subcommands:
> create
> delete
> info
> list
> remove_sync_plan Delete assignment sync plan and product.
> set_sync_plan Assign sync plan to product.
> update
>
> Options:
> -h, --help print help
> (reverse-i-search)`do': su^C service postgresql start
> [bkearney@bkearney hammer-cli]$ bundle exec bin/hammer -u admin -p
> changeme domain
> Usage:
> hammer domain [OPTIONS] SUBCOMMAND [ARG] ...
>
> Parameters:
> SUBCOMMAND subcommand
> [ARG] ... subcommand arguments
>
> Subcommands:
> create
> delete
> delete-parameter Delete parameter for a domain.
> info
> list
> set-parameter Create or update parameter for a domain.
> update
>
> Options:
> -h, --help print help
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-dev+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
–