Project

General

Profile

Actions

Refactor #33721

closed

Make template create/update commands use resolver

Added by Oleh Fedorenko over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
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

Actions #1

Updated by The Foreman Bot over 2 years ago

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

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases hammer-cli-foreman-3.1.0 added
Actions #3

Updated by Oleh Fedorenko over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF