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

Add perseus new and perseus init to CLI #128

Closed
lukechu10 opened this issue Mar 12, 2022 · 1 comment
Closed

Add perseus new and perseus init to CLI #128

lukechu10 opened this issue Mar 12, 2022 · 1 comment
Labels
C-enhancement Category: enhancement tribble-reported This issue was reported through Tribble.

Comments

@lukechu10
Copy link
Contributor

This issue is requesting an enhancement to Perseus. Details of the scope will be available in issue labels.
The user described the problem related to this request as follows:

Add perseus new and perseus init commands to the cli for easy quick start.

The user described the issue as follows:

The perseus new <project_name> command, just like cargo new, should create a new minimal perseus app under the specified directory. The perseus init feature, in parallel with cargo init, should initialize the same minimal perseus app in the current existing directory.

There should also be flags for specifying VCS and eventually other options.

Unanswered questions:

  • Should the cli pull the new project template from a git repository or should it be hard coded into the cli? Choosing the former would allow maximum flexibility and tweaking the template without pulling a new perseus-cli release. Choosing the later would make sure that the CLI initializes a project that corresponds to the CLI version, although that might not always be wanted.
  • The author is willing to attempt an implementation: false
Tribble internal data

dHJpYmJsZS1yZXBvcnRlZCxDLWVuaGFuY2VtZW50

@github-actions github-actions bot added C-enhancement Category: enhancement tribble-reported This issue was reported through Tribble. labels Mar 12, 2022
@arctic-hen7
Copy link
Member

I think this is a great idea, and I prefer pulling from a repo, but we can use branches to control the versioning. The user could also easily specify an alternative repo template that way, which would be very useful in the long term, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: enhancement tribble-reported This issue was reported through Tribble.
Projects
None yet
Development

No branches or pull requests

2 participants