-
Notifications
You must be signed in to change notification settings - Fork 353
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 set integration name for kamel run #48
Conversation
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.
Seems good, can you also try to change the sanitization to remove directory names and do upper-to-hypen conversion?
pkg/client/cmd/run.go
Outdated
@@ -51,6 +52,7 @@ func NewCmdRun(rootCmdOptions *RootCmdOptions) *cobra.Command { | |||
} | |||
|
|||
cmd.Flags().StringVarP(&options.Language, "language", "l", "", "Programming Language used to write the file") | |||
cmd.Flags().StringVarP(&options.IntegrationName, "integrationName", "i", "", "The integration name") |
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.
Maybe we can use just name
here to set it as --name
, without short flag (i
is not easy to remember, n
is used for namespace).
5114cb9
to
7999a42
Compare
Done. |
Nice! You should have updated your deps with the new lib. Can you add the dep files? |
Sure. |
Done |
ENTESB-16900 fix(cli) Duplicated trait set as modeline and kamel run parameters causes error
fixes #40