noir-lang / noir

Noir is a domain specific language for zero knowledge proofs
https://noir-lang.org
Apache License 2.0
833 stars 178 forks source link

Omit `--name` flag with `nargo init` #3007

Open Savio-Sou opened 9 months ago

Savio-Sou commented 9 months ago

Discussed in https://github.com/orgs/noir-lang/discussions/3003

Originally posted by **critesjosh** October 6, 2023 ### Problem Can we just do `nargo init [name]` instead of requiring `nargo init --name [name]`? Its a bit more intuitive and easier to type. Not sure if there are any downsides. ### Happy Case It's easier to create a Noir project. ### Alternatives Considered _No response_ ### Additional Context _No response_ ### Would you like to submit a PR for this Issue? No ### Support Needs _No response_
kevaundray commented 9 months ago

This is also what cargo does https://doc.rust-lang.org/cargo/guide/creating-a-new-project.html#creating-a-new-package

@f01dab1e feel free to take this on!