Feature #21601
CLI plugin with import and export commands
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assigned To: | - | ||
Category: | - | ||
Target version: | - | ||
Difficulty: | Pull request: | ||
Bugzilla link: | |||
Story points | - | ||
Velocity based estimate | - |
History
#1
Updated by Tomáš Strachota 4 months 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).
#2
Updated by Oleh Fedorenko 3 months 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).
#3
Updated by Tomáš Strachota about 1 month 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.