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

feat: add basic cli #85

Merged
merged 25 commits into from
Jun 12, 2024
Merged

feat: add basic cli #85

merged 25 commits into from
Jun 12, 2024

Conversation

zmalatrax
Copy link
Collaborator

@zmalatrax zmalatrax commented Jun 10, 2024

Closes #84

Implements a basic CLI to run the cairo vmin TypeSscript

Dependencies:

Design choices:
Separate the proof mode and the execution mode by two subcommands rather than a flag

  • cairo-vm-ts run <program.json> in execution mode (default command so directly using cairo-vm-ts will trigger the run subcommand)
  • cairo-vm-ts prove <program.json> in proof mode (TBD)

@zmalatrax zmalatrax self-assigned this Jun 10, 2024
@zmalatrax zmalatrax mentioned this pull request Jun 11, 2024
@zmalatrax
Copy link
Collaborator Author

Detailed list of the implemented flags in this comment

@zmalatrax zmalatrax marked this pull request as ready for review June 11, 2024 09:54
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
bin/cli.ts Outdated Show resolved Hide resolved
bin/cli.ts Outdated Show resolved Hide resolved
bin/cli.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
src/cli.ts Outdated Show resolved Hide resolved
@ClementWalter ClementWalter merged commit c713512 into main Jun 12, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

feat: add basic CLI
2 participants