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

Support generating model properties #10

Closed
ianpartridge opened this issue Nov 8, 2017 · 4 comments
Closed

Support generating model properties #10

ianpartridge opened this issue Nov 8, 2017 · 4 comments

Comments

@ianpartridge
Copy link
Contributor

ianpartridge commented Nov 8, 2017

Currently, kitura create runs the app generator, and kitura create <model> runs the model subgenerator.

We should add support for running the property subgenerator, and as a consequence rework the parameters that kitura create supports.

Proposal:

kitura create - run the app generator (no change)

kitura create <name> - run the app generator specifying a project name

kitura create --model [name] - run the model subgenerator optionally specifying a model name

kitura create --property - run the property subgenerator

@ianpartridge
Copy link
Contributor Author

@tunniclm does this accurately reflect what we discussed?

@ianpartridge ianpartridge changed the title Support generating model parameters Support generating model properties Nov 8, 2017
@tunniclm
Copy link

Yes, are you planning on supporting passing down options as well so someone could do kitura create --skip-build?

@ianpartridge
Copy link
Contributor Author

ianpartridge commented Nov 10, 2017

Yes. kitura init now supports options so you can do kitura init --skip-build (that's what the test does). I'll add this to kitura create as well.

@ianpartridge
Copy link
Contributor Author

Fixed in #14

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