fireprox
fireprox copied to clipboard
Add/update some commands and general logic
This PR adds the following features:
- list_all command to list all apis from default regions
- list command now accept multiple regions as input and show all of them
- region passed as option has precedence over region stored in aws config files
- prune command to remove all apis from specified regions
- option region now accepts a list of regions, either as comma-separated string or file containing regions
- when creating a new api and passing multiple regions, it will choose one randomly
- logic of delete command was changed to avoid iterating over all apis when deleting. Instead, use exceptions to handle specific cases like api not found.