awslabs / ar-go-tools

ar-go-tools (Argot) is a collection of analysis tools for Go
Apache License 2.0
25 stars 1 forks source link

Unified CLI tool #87

Closed samarth-aws closed 2 months ago

samarth-aws commented 2 months ago

Right now argot consists of multiple binaries such as taint, backtrace, dependencies etc. This was a historical decision made when the tools were more independent, but now they share more code.

Recently, there seems to be a trend of having a single binary that has sub-commands for various tools. An example of this is the new nix command which replaces the old nix-* commands.

We can do a similar thing for argot where a user invokes a single argot binary and specifies a subcommand for the particular tool they want to use. For example, argot taint -config ... instead of the old taint -config ....