Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement: query data across account hierarchy #91

Open
chrislittle opened this issue Nov 18, 2016 · 3 comments
Open

enhancement: query data across account hierarchy #91

chrislittle opened this issue Nov 18, 2016 · 3 comments

Comments

@chrislittle
Copy link
Contributor

It would be great if we could implement a 'crawl' of an account hierarchy for CLI actions.

for example, I want a list of all servers across my parent and all subs. right now you must always specify --account-alias or it just lists the parent account data.

@richardcase
Copy link
Contributor

richardcase commented Nov 20, 2016

Great idea. Do you have any preferences on how we specify this on the command line. For example:

clc server list --data-center VA1 --account-alias CSEM --include-subaccounts

Or

clc server list --data-center VA1 --account-alias CSEM --recursive

@richardcase richardcase added this to the v1.2.0 milestone Nov 20, 2016
@chrislittle
Copy link
Contributor Author

well we already have --account-alias on some commands (not sure how many so if you can check). perhaps we just use --account-alias and it can be a specific alias or 'all' ... @gavin-lai your thoughts? i'm thinking if we can avoid another function lets do it.

@gavin-lai
Copy link

Agree, the all option sound go to get all sub accounts information.

From: Chris Little [mailto:[email protected]]
Sent: Monday, November 21, 2016 8:05 AM
To: CenturyLinkCloud/clc-go-cli [email protected]
Cc: Gavin Lai [email protected]; Mention [email protected]
Subject: Re: [CenturyLinkCloud/clc-go-cli] enhancement: query data across account hierarchy (#91)

well we already have --account-alias on some commands (not sure how many so if you can check). perhaps we just use --account-alias and it can be a specific alias or 'all' ... @gavin-laihttps://github.com/gavin-lai your thoughts? i'm thinking if we can avoid another function lets do it.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/91#issuecomment-261931977, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANTY1wKXPsE9Fzc_KQFOc-0JeyW1dpzkks5rAZbegaJpZM4K2-yv.

@richardcase richardcase removed this from the v1.2.0 milestone Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants