doc/plugins.md in power_stencil-0.4.17 vs doc/plugins.md in power_stencil-0.4.18

- old
+ new

@@ -50,11 +50,11 @@ # Creating plugin local to the project The is a command provided for that, that will create a whole plugin skeleton. ```shell -$ power_stencil new-plugin myplugin +$ power_stencil plugin --create myplugin Generated new plugin 'myplugin' $ ll .ps_project/plugins/myplugin total 60 drwxrwxr-x 6 laurent laurent 4096 août 28 14:38 ./ @@ -94,12 +94,40 @@ - version: true - templates: true ``` Each of the lines correspond to what is called a _plugin capability_. -Obviously by default the plugin does nothing, but it defined some placeholders. For example in the ouput here above it says `command_line: true`. What could it mean ? +You can get the same information by issuing: + $ power_stencil plugin --list + +``` +1 plugin found to be used in this project. + - myplugin (in '/tmp/tst project/.ps_project/plugins/myplugin/lib/myplugin.rb') +``` + +Or with the capabilities information: + + $ power_stencil plugin --list -v + +``` +1 plugin found to be used in this project. + - myplugin (in '/tmp/tst project/.ps_project/plugins/myplugin/lib/myplugin.rb') + command_line: true + local_config: true + processors: true + build: false + dsl: false + entity_definitions: true + code: true + version: true + templates: true +``` + + +Obviously by default the plugin does nothing useful, yet it defined some placeholders. For example in the output here above it says `command_line: true`. What could it mean ? + Let's try to see to help: ```shell $ power_stencil --help PowerStencil is the Swiss-army knife templating workflow for developers and ops. @@ -120,10 +148,10 @@ Following subcommands exist too: For more information you can always issue sub_command_name --help... -------------------------------------------------------------------------------- * init: Initializes a PowerStencil repository ... * info: Generic information about the repository ... - * new-plugin: Generates the skeleton for a plugin ... + * plugin: Manipulates plugins ... * get: Query entities from repository ... * shell: Opens a shell to interact with entities ... * check: Check repository entities consistency ... * create: Creates entities in the repository ... * edit: Edit entities from repository ... \ No newline at end of file