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
--force- Use this flag to tell the command not to prompt user for confirmation
--v- Use this flag to set the verbosity level. See Logging in odo for more information.
--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.