Files
odo/docs/website/versioned_docs/version-2.5.0/command-reference/flags.md
Charlie Drage e1a16a64c7 Make 3.0.0 the default on the site (#5857)
* Make 3.0.0 the default on the site

<!--
Thank you for opening a PR! Here are some things you need to know before submitting:

1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Dev:-odo-Dev-Guidelines
2. Label this PR accordingly with the '/kind' line
3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Dev:-Writing-and-running-tests
4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/Pull-Requests:-Review-guideline

Documentation:

If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Documentation:-Contributing
-->

**What type of PR is this:**

<!--
Add one of the following kinds:
/kind bug
/kind feature
/kind cleanup
/kind tests

Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well.
-->
/kind documentation

**What does this PR do / why we need it:**

* Moves the 3.0.0 documentation to current
* Changes the "intro" page to "introduction" due to limitations of
  docusaurus index paging.

**Which issue(s) this PR fixes:**
<!--
Specifying the issue will automatically close it when this PR is merged
-->

Fixes https://github.com/redhat-developer/odo/issues/5842

**PR acceptance criteria:**

- [X] Documentation

**How to test changes / Special notes to the reviewer:**

Signed-off-by: Charlie Drage <charlie@charliedrage.com>

* fix broken links

* fix more links
2022-06-27 14:32:09 -04:00

1.2 KiB

title, sidebar_position
title sidebar_position
Common Flags 50

Available Flags

Following are the flags commonly available with almost every odo command.

  • --context - Use this flag to set the context directory where the component is defined.
  • --project - Use this flag to set the project for the component; defaults to the project defined in the local configuration; if none is available, then current project on the cluster
  • --app - Use this flag to set the application of the component; defaults to the application defined in the local configuration; if none is available, then app
  • --kubeconfig - Use this flag to set path to the kubeconfig if not using the default configuration
  • --show-log - Use this flag to see the logs
  • -f, --force - Use this flag to tell the command not to prompt user for confirmation
  • -v, --v - Use this flag to set the verbosity level. See Logging in odo for more information.
  • -h, --help - Use this flag to get help on a command

Note: Some flags might not be available in some commands, run the command with --help to get a list of all the available flags.