MarketSquare / roboswag

Apache License 2.0
26 stars 2 forks source link

Migrate argparse to click #32

Closed bhirsz closed 2 years ago

bhirsz commented 2 years ago

Review after #29 and #30 are merged

Closes #7

For our current needs introducing click dependency is bit on the heavy side (as compared to built-in argparse) but it will be a lot easier to update cli and introduce configuration file support with click.

bhirsz commented 2 years ago

Changed the cli interface a bit - now to generate Python libraries user needs to use generate command:

roboswag generate -s <>

Such split early on will allow us to design better cli experience in long term - when there will be more possible commands and some of them will have required options.