Actions
Bug #4488
closedUsing --show-ids does not display the ID for the created resource
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
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?
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.
Updated by Og Maciel over 11 years ago
As I misunderstood what the feature works, please feel free to close it.
Actions