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

[TASK] Support multiple templates in the CLI #352

Open
1 of 2 tasks
Tracked by #354
Serial-ATA opened this issue Oct 16, 2024 · 0 comments
Open
1 of 2 tasks
Tracked by #354

[TASK] Support multiple templates in the CLI #352

Serial-ATA opened this issue Oct 16, 2024 · 0 comments

Comments

@Serial-ATA
Copy link
Contributor

Serial-ATA commented Oct 16, 2024

Overview

cargo tangle gadget create currently just pulls from the hello world template: https://github.com/tangle-network/blueprint-template

It'd be nice to add:

  • --repo and --path to specify remote & local templates to use instead
    • I already have this done locally, will get it in once this is no longer a side task.
  • In the absence of flags, show the user a list of templates to choose from:
$ cargo tangle gadget create

Choose a template
> 1. Base (A simple hello world template) [default]
2. [name] (description)
3. [name] (description)
...

This would be sourced from a list maintained in create.rs (with entries only coming from the tangle-network org, preferably).

Currently not useful at all, we don't have any extra templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Not Started 🕧
Development

No branches or pull requests

1 participant