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

Unknown templates during project creation #782

Open
Helveg opened this issue Dec 4, 2023 · 0 comments
Open

Unknown templates during project creation #782

Helveg opened this issue Dec 4, 2023 · 0 comments
Assignees

Comments

@Helveg
Copy link
Contributor

Helveg commented Dec 4, 2023

When you bsb new:

(b4py9) robin@LAPTOP-JF6T3PSU:~$ bsb new
Project name [my_model]:
Config template [skeleton.yaml]:

but you can't see which templates are available. We could either:

  1. List the available options
    • This doesn't scale well if there's many templates
  2. Autocomplete them
  • We should inform the user how to do that, show placeholder text, ...

The relevant code is in

class ProjectNewCommand(BaseCommand, name="new"):

and

def copy_template(self, template, output="network_configuration.json", path=None):

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

No branches or pull requests

2 participants