-
Notifications
You must be signed in to change notification settings - Fork 26
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
Support specify contract path input with or without -p flag #361
base: main
Are you sure you want to change the base?
Conversation
Thanks for your interest in contributing to |
Hello, I looked into it, and it seems to me that what we're trying to do is closer to this, and this. |
@AlexD10S , I made a cleaner version of my first suggestion (modifications are minimal, and limited to |
Thanks! Running the CI to check all tests pass, and I'll do a proper review |
I saw that the CLI was failing, and did a |
Description
This PR is addressing issue #350.
Allow
pop-cli
to supports two ways to to specify the path to a contract or artifact file: using the-p
flag or specifying the path directly without it:and
should both be possible.
Implementation
Two arguments are used to specify the path: One Optional, and one positional:
The following contract-related commands will be upgraded