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

Document --edgerc and --section parameters in help #10

Closed
javiergarza opened this issue Aug 24, 2019 · 3 comments
Closed

Document --edgerc and --section parameters in help #10

javiergarza opened this issue Aug 24, 2019 · 3 comments

Comments

@javiergarza
Copy link

It will be great if the cli-firewall would be consistent with the rest of Akamai CLI packages and would allow the --edgerc flag to allow indicating the file containing the edgegrid credentials and --section flag to allow indicating the .edgerc section to use

@vreddhi
Copy link
Contributor

vreddhi commented Aug 26, 2019

It should already support both. I see it working.

@javiergarza javiergarza changed the title allow --edgerc and --section parameters Document --edgerc and --section parameters in help Sep 4, 2019
@javiergarza
Copy link
Author

OK, fair enough.

  1. Can you please include those 2 parameters in the online help?
  2. In the other CLI packages those parameters are indicated after the package name, but in the fw package the command seems to fail when you indicate --edgerc or --section before the command (see second command below)

$ akamai fw help
usage: akamai firewall help [command] [--version] ...

Akamai CLI for Firewall Rules

optional arguments:
--version show program's version number and exit

Commands:

help              Show available help
list-services     List all firewall rules services available
list-subscriptions
                  List current subscriptions
subscribe         Subscribe to a firewall rules service
unsubscribe       Unsubscribe from a firewall rules service
list-cidrs        List the CIDRs for current subscription or a specific
                  firewall rules service

$ akamai fw --section dac-open help
usage: akamai firewall [--version] ...
akamai firewall: error: argument : invalid choice: 'dac-open' (choose from 'help', 'list-services', 'list-subscriptions', 'subscribe', 'unsubscribe', 'list-cidrs')

@aetsai
Copy link
Contributor

aetsai commented Apr 15, 2020

closed in v0.2.0

@aetsai aetsai closed this as completed Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants