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

[Feature] New CLI command: skeleton #477

Closed
jwx opened this issue Feb 1, 2017 · 3 comments
Closed

[Feature] New CLI command: skeleton #477

jwx opened this issue Feb 1, 2017 · 3 comments

Comments

@jwx
Copy link
Member

jwx commented Feb 1, 2017

I'm submitting a feature request
I think a good CLI is something that brings developers to a tool/framework and that it's beneficial to have developers working with the CLI. I therefore suggest the command skeleton which creates projects based on a specified skeleton. Some examples:

au skeleton --list (list "known Aurelia skeletons")
au skeleton navigation-typescript (download, install, build and run the latest navigation skeleton for typescript)
au skeleton git:// url (download, install, build and run from git)

Additional flags could be added, such as --watch, --no-run, --no-build, --no-install etc.

@eriklieben
Copy link
Member

This is not exactly what you are asking for, but might be useful.

I use this for demonstration purposes, to quickly show the navigation skeleton without doing a lot of copy and paste work. Currently works for typescript, not sure about babel setup, because I did not use it yet/ didn't require it yet, but the files are there.

Perform au new and select option 2 or 3 with typescript, when the installation is done type:

npm i @generator/skeleton-navigation -D

WARNING: this overrides all your files, so make a backup if you do this in an existing project!
Now type au generate and you will see a skeleton-navigation generator, which can be executed with:

au generate skeleton-navigation

Then start au run --watch and start coding.

Your feature request describes a more user-friendly version, because the above needs instructions for users on what to do, etc.

@AStoker
Copy link
Contributor

AStoker commented Feb 15, 2017

Kind of sounds like Yoeman

@3cp
Copy link
Member

3cp commented Oct 7, 2020

This is covered by "makes" based skeleton now.

@3cp 3cp closed this as completed Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants