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

Add Capability for CLI to Target Specific Contracts with a Flag #125

Open
0xNeshi opened this issue Dec 9, 2024 · 0 comments
Open

Add Capability for CLI to Target Specific Contracts with a Flag #125

0xNeshi opened this issue Dec 9, 2024 · 0 comments

Comments

@0xNeshi
Copy link

0xNeshi commented Dec 9, 2024

It would make commands much faster and precise to execute if there was a something like a --contract flag, that would enable the Stylus CLI to perform operations on specific contracts instead of everything in a specific Cargo.toml.

By calling --contract "SomeContractName", the command could find that specific contract and check it or deploy it.
It should be able to handle inheritance correctly.

Example:

cargo stylus export-abi --contract Erc20
@0xNeshi 0xNeshi changed the title Add Capability for CLI to target specific contracts. Add Capability for CLI to Target Specific Contracts with a Flag Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant