Project

General

Profile

Refactor #33721

Make template create/update commands use resolver

Added by Oleh Fedorenko 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

hammer template [create|update] command hides --template-kind[-id] options and provides --type option only, which has non-standard way of resolving template kind names. I suggest to refactor this place [1] to be more readable and consistent.

[1] - https://github.com/theforeman/hammer-cli-foreman/blob/3100ec821b8b8efa2ec8674d167968c12f82bbed/lib/hammer_cli_foreman/template.rb#L13-L25

Associated revisions

Revision 9699e2cf (diff)
Added by Oleh Fedorenko 3 months ago

Fixes #33721 - Make template create/update commands use resolver

History

#1 Updated by The Foreman Bot 3 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/582 added

#2 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases hammer-cli-foreman-3.1.0 added

#3 Updated by Oleh Fedorenko 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF