Bug 1760589

Summary: Autocompletion is not working for `--context` in `odo push`
Product: OpenShift Container Platform Reporter: Yana Hontyk <yhontyk>
Component: odoAssignee: Charlie Drage <cdrage>
Status: CLOSED CURRENTRELEASE QA Contact: Amit <arout>
Severity: unspecified Docs Contact: Yana Hontyk <yhontyk>
Priority: unspecified    
Version: 4.2.0CC: cdrage, moahmed, oskutka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-02 07:59:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yana Hontyk 2019-10-10 21:27:20 UTC
Description of problem:
Autocompletion is not working for `--context` in `odo push`

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. odo push --con TAB 

Actual results:

$ odo push --con ✗  the current directory does not represent an odo component.
Maybe use 'odo create' to create component here or switch to directory with a component

Expected results:

auto completion should work for all flags for odo push command.

Additional info:

Comment 1 Amit 2019-11-19 07:09:46 UTC
Fixed via - https://github.com/openshift/odo/pull/2326