Feature #21601
closedCLI plugin with import and export commands
Updated by Tomáš Strachota over 6 years ago
The plugin should extend the template command provided by hammer-cli-foreman with two more sub-commands:
hammer template import ... hammer template export ...
The templates plugin (https://github.com/theforeman/foreman_templates) provides API endpoints for both actions. Commands should provide similar options as the rake task that the plugin used originally (see Readme.md for more details).
Updated by Oleh Fedorenko over 6 years ago
There is a initial version of the plugin: https://github.com/ofedoren/hammer-cli-foreman-templates
But it needs https://github.com/theforeman/foreman_templates/pull/72 to be merged at first (see http://projects.theforeman.org/issues/22057).
Updated by Tomáš Strachota about 6 years ago
- Status changed from New to Closed
The plugin has been created:
https://github.com/ofedoren/hammer-cli-foreman-templates
and released:
https://rubygems.org/gems/hammer_cli_foreman_templates
I'm closing the issue.