Skip to content

break functionality up into subcommands #1928

@0xalpharush

Description

@0xalpharush

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions