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

refactor: required option in aztec-cli #1584

Merged
merged 3 commits into from
Aug 16, 2023
Merged

Conversation

benesjan
Copy link
Contributor

@benesjan benesjan commented Aug 16, 2023

Fixes #1520

  • fixes broken yarn start in CLI

Checklist:

Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

  • If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
  • I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
  • Every change is related to the PR description.
  • I have linked this pull request to relevant issues (if any exist).

@benesjan benesjan requested a review from spalladino August 16, 2023 12:12
@@ -143,10 +143,9 @@ export function getProgram(log: LogFn, debugLogger: DebugLogger): Command {
program
.command('deploy')
.description('Deploys a compiled Noir contract to Aztec.')
.option(
.requiredOption(
Copy link
Contributor

@iAmMichaelConnor iAmMichaelConnor Aug 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are --salt and --public-key also a required options, here? (Does it work without them, given they're defaulting to undefined values?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, yes in this case it works without them just fine.

@benesjan benesjan merged commit f287416 into master Aug 16, 2023
@benesjan benesjan deleted the janb/required-option-in-cli branch August 16, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Make required options in AztecCLI 'requiredOption'
2 participants