Project

General

Profile

Bug #12751

Inconsistent option name --plugin-name for defaults provider name

Added by Martin Bacovsky over 4 years ago. Updated over 4 years ago.

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

Description

$ hm defaults add -h
Usage:
hammer defaults add [OPTIONS]

Options:
--param-name OPTION_NAME The name of the default option (e.g. organization_id).
--param-value OPTION_VALUE The value for the default option
--plugin-name OPTION_PLUGIN_NAME The name of the provider providing the value. For list available providers see `hammer defaults providers`.
-h, --help print help

For provider name I'd expect
--provider OPTION_PROVIDER

Associated revisions

Revision abb67f87 (diff)
Added by Martin Bacovsky over 4 years ago

Fixes #12751 - --plugin-name renamed to --provider

- fixed minor formatting issues
- fixed someplugin/provider inconsistencies
- updated tests
- added description
- Provider to be used as a instance

Revision f2827256
Added by Tomas Strachota over 4 years ago

Merge pull request #187 from mbacovsky/12751_plugin_rename

Fixes #12751 - --plugin-name renamed to --provider

History

#1 Updated by The Foreman Bot over 4 years ago

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

#2 Updated by Martin Bacovsky over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF