jordanpotti / AWSBucketDump

Security Tool to Look For Interesting Files in S3 Buckets
MIT License
1.36k stars 240 forks source link

Refactoring for command line arguments objects #1

Closed codingo closed 7 years ago

codingo commented 7 years ago

This is a first round of refactoring that addresses the need for a proper command line argument structure. Instead of relying on argv/argc and the correct placement of variables this instead converts the application to use more traditional arguments, allowing for placement in any order and clear help (available with -h).

Additionally as a more minor point there are also some pep8 changes and a call to main where I identified them.

Feel free to recommend any changes or improvements before merging!

jordanpotti commented 7 years ago

Looks good. Thanks for the contribution!