Project

General

Profile

Actions

Bug #5747

closed

[RFE] Fine grained control over name expansion

Added by Bryan Kearney over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
High
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

I would like to have fine grained control over what *-id parameters are expanded in hammer commands. Take the command

subscription upload

for example. With some tweaks today, the parameters exposed based off the index options are:

--activation-key ACTIVATION_KEY_NAME
--activation-key-id ACTIVATION_KEY_ID
--async Do not wait for the task
--file MANIFEST Subscription manifest file
--name NAME Name to search by
--organization ORGANIZATION_NAME
--organization-id ORGANIZATION_ID Organization id
--organization-label ORGANIZATION_LABEL
--repository-url REPOSITORY_URL repository url
--system SYSTEM_NAME
--system-id SYSTEM_ID

if you compare this to the actual resource,

activation-key
name
system

are not in the update command. All I would like to have expanded are organization

Actions

Also available in: Atom PDF