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

CLI Subcommands #17

Open
2 of 6 tasks
refcell opened this issue Oct 3, 2023 · 0 comments
Open
2 of 6 tasks

CLI Subcommands #17

refcell opened this issue Oct 3, 2023 · 0 comments
Labels
A-bin Area: Binary related alpha C-feature Category: Features M-tracking Meta: Tracking branch

Comments

@refcell
Copy link
Collaborator

refcell commented Oct 3, 2023

Description

Currently, the opup cli binary directly runs the op stack "devnet". It should be extended to accept Subcommands inside the Args struct, and then dispatch to the subcommand logic based on the selection. When no subcommand is provided, an inquire prompt should confirm that the user wants to run a stack based on the local stack.toml config file or environment variables + defaults if none is present. This prompt should not be shown when the up subcommand is passed into the cli.

For a subcommand reference implementation, see the reth binary.

Task List

@refcell refcell added A-bin Area: Binary related C-feature Category: Features alpha labels Oct 3, 2023
@refcell refcell pinned this issue Oct 4, 2023
@refcell refcell added the M-tracking Meta: Tracking branch label Oct 4, 2023
@refcell refcell changed the title feat(bin): CLI Subcommands CLI Subcommands Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-bin Area: Binary related alpha C-feature Category: Features M-tracking Meta: Tracking branch
Projects
None yet
Development

No branches or pull requests

1 participant