status-im / keycard-cli

A command line tool and shell to manage keycards
https://keycard.tech
Mozilla Public License 2.0
46 stars 17 forks source link

Adopt a CLI specific library #16

Open willianpaixao opened 1 year ago

willianpaixao commented 1 year ago

At the moment the arguments are read and parsed using os.Args. This approach leaves little room for improvement of the CLI tools.

I suggest the adoption of a specialized library, like github.com/spf13/cobra or github.com/urfave/cli. A huge number of improvements would be possible out of the box.

Please refer to their documentation for an extensive list of features.

bitgamma commented 1 year ago

while it surely would have made sense to develop the app using one of these libs, adopting it now is quite a task. That said, a PR would be absolutely welcome!