Comment 2 for bug 1665567

Revision history for this message
Vitalii Kulanov (vitaliy-t) wrote :

@Ilya,

What is your proposition about 'fuel2 role create' command help. Actually, in fuelclient, we have several commands with exact the same behavior as for the 'role create' command. Currently help message looks like as follows:

[root@fuel ~]# fuel2 role create --help
usage: fuel2 role create [-h] (-r RELEASE | -e ENV) -n NAME -f {json,yaml}
                         [-d DIRECTORY]

Create a role from file description

optional arguments:
  -h, --help show this help message and exit
  -r RELEASE, --release RELEASE
                        Id of the release
  -e ENV, --env ENV Id of the environment
  -n NAME, --name NAME Name of role.
  -f {json,yaml}, --format {json,yaml}
                        Format of serialized role description.
  -d DIRECTORY, --directory DIRECTORY
                        Source directory. Defaults to the current directory.