Project

General

Profile

Actions

Bug #4488

closed

Using --show-ids does not display the ID for the created resource

Added by Og Maciel over 11 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

I believe that if I use --show-ids while creating a new resource via the CLI, I should get the ID for the newly created resource displayed in the output:

# hammer -v --show-ids organization create --name "NY Data Store" 
Organization created

Am I missing something?

Actions #1

Updated by Tomáš Strachota over 11 years ago

--show-ids is meant to be used for displaying ids of associated resources in show/list actions. In perfect world all the resources are searchable by their names and associated ids kind of pollute the output.

Please use --csv to display ids and names of just created items.

Actions #2

Updated by Og Maciel over 11 years ago

As I misunderstood what the feature works, please feel free to close it.

Actions #3

Updated by Dominic Cleal over 11 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF