Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

break functionality up into subcommands #1928

Open
0xalpharush opened this issue May 19, 2023 · 0 comments
Open

break functionality up into subcommands #1928

0xalpharush opened this issue May 19, 2023 · 0 comments
Labels
enhancement New feature or request ux

Comments

@0xalpharush
Copy link
Member

Describe the desired feature

We should improve Slither's command line interface by replacing flags that are used to toggles "modes" into subcommands. This would allow for less noise in help menus. We should also cleanup the configurations and add additonal validation to ensure the behavior is intuitive yet configurable.

slither . --detect -> slither detect
slither . --print -> slither print

Perhaps tools could become subcommands instead of alternative entry points. This would allow us to make them opt-in i.e.
slither-read-storage would become slither read-storage and its dependencies would only be installed if you run pip install slither[read-storage]

Related (#759 #1458)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ux
Projects
None yet
Development

No branches or pull requests

1 participant