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 set integration name for kamel run #48

Merged
merged 3 commits into from
Sep 12, 2018
Merged

Conversation

oscerd
Copy link
Contributor

@oscerd oscerd commented Sep 12, 2018

fixes #40

Copy link
Member

@nicolaferraro nicolaferraro left a 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?

@@ -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")
Copy link
Member

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).

@oscerd
Copy link
Contributor Author

oscerd commented Sep 12, 2018

Done.

@nicolaferraro
Copy link
Member

Nice! You should have updated your deps with the new lib. Can you add the dep files?

@oscerd
Copy link
Contributor Author

oscerd commented Sep 12, 2018

Sure.

@oscerd
Copy link
Contributor Author

oscerd commented Sep 12, 2018

Done

@nicolaferraro nicolaferraro merged commit db677d6 into master Sep 12, 2018
@oscerd oscerd deleted the integration-name branch October 9, 2018 09:23
squakez referenced this pull request in squakez/camel-k Jul 12, 2021
ENTESB-16900 fix(cli) Duplicated trait set as modeline and kamel run parameters causes error
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

Successfully merging this pull request may close these issues.

Support set integration name for kamel run
2 participants