Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Default command operation should be list #336

Open
tonyespy opened this issue Nov 3, 2020 · 1 comment
Open

Default command operation should be list #336

tonyespy opened this issue Nov 3, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request ireland

Comments

@tonyespy
Copy link
Member

tonyespy commented Nov 3, 2020

It would be nice if the edgex-cli commands all default to the "list" operation. Making the following commands equivalent:

$ edgex-cli device list
$ edgex-cli device

Version: v1.0.0-dev.28

@tonyespy tonyespy added the bug Something isn't working label Nov 3, 2020
@difince difince added enhancement New feature or request ireland and removed bug Something isn't working labels Nov 5, 2020
@difince
Copy link
Contributor

difince commented Dec 10, 2020

@jpwhitemn @tonyespy @mkbhanda
If we all agree with this idea I could start working on it ?

@difince difince self-assigned this Jan 13, 2021
difince added a commit to difince/edgex-cli that referenced this issue Jan 13, 2021
Make list default command operation for all commands, but still keep the
list as an available operation
Example list all devices could be called in two ways:
> edgex-cli device
> edgex-cli device list

Closes: edgexfoundry#336

Signed-off-by: Diana Atanasova <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request ireland
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants