Open chrislittle opened 7 years ago
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
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.
Agree, the all option sound go to get all sub accounts information.
From: Chris Little [mailto:notifications@github.com] Sent: Monday, November 21, 2016 8:05 AM To: CenturyLinkCloud/clc-go-cli clc-go-cli@noreply.github.com Cc: Gavin Lai Gavin.Lai@ctl.io; Mention mention@noreply.github.com 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/CenturyLinkCloud/clc-go-cli/issues/91#issuecomment-261931977, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANTY1wKXPsE9Fzc_KQFOc-0JeyW1dpzkks5rAZbegaJpZM4K2-yv.
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.