mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
This PR does: * Adds flags `project`, `application` and `component` flag to respective commands * added `getProjectName` and `getAppName` reusable functions which looks for `project` or `application` flag first, if not provided then it gives current value by default. * Provide comments to some of the exported functions * Refactors the way we provide `namespace` value for methods in `occlient.go`. (No method will accept namespace as a argument, whenever needed we will use `client.Namespace` value) * Updated unit tests as per new refactoring