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

Document nada new-program command #112

Open
navasvarela opened this issue Oct 23, 2024 · 0 comments
Open

Document nada new-program command #112

navasvarela opened this issue Oct 23, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@navasvarela
Copy link
Member

Feature Description
This PR https://github.com/NillionNetwork/nillion/pull/2286 implements a new command for nada to create new programs, reducing the need for users to manipulate nada-project.toml.

This command:

  • Creates a new template file with the required name under the project source folder
  • Updates nada-project.toml, adding a new entry for the program.

Why is this feature important?

  • It provides good developer experience.
  • It simplifies the process of creating new programs
  • It reduces manual errors when editign nada-project.toml

How do developers use the feature?
If a developer wants to create a new program called amazing_program, she can do this:

nada new-program amazing_program

This will create a file src/amazing_program.py and update nada-project.toml.

Usage or commands
See section above.

Additional context
https://github.com/NillionNetwork/nillion/pull/2286

@navasvarela navasvarela added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant