Help:
{{ sub.help }}{% endif %} {% if sub.arguments %}
Arguments:
{{ arg.name }}
— {{ arg.help or 'No description' }} {% if arg.required %}(required){% endif %}Options:
{{ opt.opts | join(', ') }}
— {{ opt.help or 'No description' }}
{% if opt.required %}(required){% endif %}
Example usage:
ckan {{ command_name }} {{ sub.name }} {% for arg in sub.arguments if arg.required %}<{{ arg.name }}> {% endfor %}{% if sub.subcommands %} {% set cmd_name = command_name ~ ' ' ~ sub.name %} {{ subcommands_tree(sub, cmd_name) }} {% endif %}
Help:
{{ command.help }}{% else %}
No help text available.
{% endif %} {% if command.arguments %}Arguments:
{{ arg.name }}
— {{ arg.help or 'No description' }} {% if arg.required %}(required){% endif %}Options:
{{ opt.opts | join(', ') }}
— {{ opt.help or 'No description' }}
{% if opt.required %}(required){% endif %}
Example usage:
ckan {{ command.name }} {% for arg in command.arguments if arg.required %}<{{ arg.name }}> {% endfor %}{% if command.subcommands %} {{ subcommands_tree(command, command.name) }} {% endif %}