plone / plonecli

Plone Command Line Client - for creating and working with custom add-ons and themes
https://pypi.org/project/plonecli/
Other
19 stars 10 forks source link

Improve help message when using "plonecli -l" #29

Open idgserpro opened 6 years ago

idgserpro commented 6 years ago

0.2.0

2.7.9

Description

Improve help.

What I Did

plonecli -l                                                                                                                                                                     [17:21:31]
Available mr.bob templates:
 - buildout
 - addon
  - vocabulary
  - theme
  - behavior
  - content_type
 - theme_package

And then:

plonecli create addon                                                                                                                                                           [17:21:55]
Usage: plonecli create [OPTIONS] TEMPLATE NAME
Try "plonecli create -h" for help.

Error: Missing argument "name".

I suggest adding the last message plonecli create addon src/collective.todo available at the official docs https://github.com/plone/plonecli#creating-a-plone-add-on. It would be nice to solve https://github.com/plone/plonecli/issues/28 before this issue.