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

✨ Use Cobra for cli #274

Merged
merged 1 commit into from
Aug 9, 2023
Merged

✨ Use Cobra for cli #274

merged 1 commit into from
Aug 9, 2023

Conversation

eemcmullan
Copy link
Contributor

No description provided.

Copy link
Contributor

@shawn-hurley shawn-hurley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On minor thing but looks good to me

)

func init() {
rootCmd.PersistentFlags().StringVar(&settingsFile, "settings-file", "provider_settings.json", "path to the provider settings")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder do these need to be persistent for all potential sub commands?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. I don't think any of them needed to be persistent actually. Updated

Signed-off-by: Emily McMullan <[email protected]>
@eemcmullan eemcmullan changed the title Use Cobra for cli ✨ Use Cobra for cli Aug 4, 2023
Copy link
Contributor

@shawn-hurley shawn-hurley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fabianvf fabianvf merged commit 79db99c into konveyor:main Aug 9, 2023
6 of 7 checks passed
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.

3 participants