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

When running interactive odo init command, get the equivalent command with flags #5465

Closed
feloy opened this issue Feb 16, 2022 · 0 comments · Fixed by #6265
Closed

When running interactive odo init command, get the equivalent command with flags #5465

feloy opened this issue Feb 16, 2022 · 0 comments · Fixed by #6265
Assignees
Labels
kind/user-story An issue of user-story kind priority/Low Nice to have issue. It's not immediately on the project roadmap to get it done.
Milestone

Comments

@feloy
Copy link
Contributor

feloy commented Feb 16, 2022

/kind feature

Which functionality do you think we should add?

When running odo init command in interactive mode, an equivalent command exists with flags. It would be interesting for the user to see the equivalent non interactive command to run:

$ odo init
? Select language: go
? Select project type: Go Runtime
 ✓  Downloading devfile "go" from registry "DefaultDevfileRegistry" [927ms]
? Which starter project do you want to use? go-starter
 ✓  Downloading starter project "go-starter" [394ms]
? Enter component name: my-go-app

Your new component "my-go-app" is ready in the current directory.
To start editing your component, use "odo dev" and open this folder in your favorite IDE.
Changes will be directly reflected on the cluster.
To deploy your component to a cluster use "odo deploy".
Next time, you can also run the command:
    odo init --name my-go-app --devfile go --devfile-registry DefaultDevfileRegistry --starter go-starter

Why is this needed?

@feloy feloy added the v3 label Feb 16, 2022
@openshift-ci openshift-ci bot added the kind/feature Categorizes issue as a feature request. For PRs, that means that the PR is the implementation label Feb 16, 2022
@kadel kadel added the priority/Low Nice to have issue. It's not immediately on the project roadmap to get it done. label Mar 15, 2022
@kadel kadel removed the v3 label Mar 24, 2022
@rm3l rm3l added this to odo Project Oct 3, 2022
@rm3l rm3l moved this to To Do 📝 in odo Project Oct 3, 2022
@rm3l rm3l removed the status in odo Project Oct 3, 2022
@anandrkskd anandrkskd moved this to In Progress 🚧 in odo Project Oct 18, 2022
@rm3l rm3l modified the milestones: v3.2.0 🚀, v3.3.0 🚀 Oct 19, 2022
Repository owner moved this from In Progress 🚧 to Done ✅ in odo Project Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/user-story An issue of user-story kind priority/Low Nice to have issue. It's not immediately on the project roadmap to get it done.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants