Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #29: migrated from Argparse to click
- Loading branch information
Showing
4 changed files
with
66 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
#!/usr/bin/env python | ||
import sys | ||
|
||
if __name__ == "__main__": | ||
from amazon_dash.exceptions import catch | ||
from amazon_dash.management import cli | ||
|
||
from amazon_dash.management import execute_from_command_line | ||
if __name__ == "__main__": | ||
|
||
execute_from_command_line(sys.argv) | ||
catch(cli)() |