-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat(apps): Apps create command with feature flag #262
Conversation
005bebe
to
d6082c1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to change the flag name (it shouldn't be path, but language instead)
return nil | ||
} | ||
|
||
func (c *Create) getLang() (string, error) { | ||
if path := c.flags.Path; path != "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if path is pwd... we still need that to be specified as a flag?
what if the supplied language is different from the app.json language?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if path is pwd... we still need that to be specified as a flag?
@janelletavares That's a great question. I'm making specifying the path mandatory (notice I'm not reading from pwd) but maybe we could make that change.
what if the supplied language is different from the app.json language?
Language specified in the app.json currently takes precedence (i.e. if both provided we ignore the currently ignore --lang
)
Description of change
meroxa apps create NAME
Fixes https://github.com/meroxa/turbine-project/issues/42
Type of change
How was this tested?
Demo
Additional references
Documentation updated