| ... | ... |
@@ -45,7 +45,7 @@ After logging out, if you want to log back into the server use '%[1]s'.` |
| 45 | 45 |
) |
| 46 | 46 |
|
| 47 | 47 |
// NewCmdLogout implements the OpenShift cli logout command |
| 48 |
-func NewCmdLogout(name, fullName, oscLoginFullCommand string, f *osclientcmd.Factory, reader io.Reader, out io.Writer) *cobra.Command {
|
|
| 48 |
+func NewCmdLogout(name, fullName, ocLoginFullCommand string, f *osclientcmd.Factory, reader io.Reader, out io.Writer) *cobra.Command {
|
|
| 49 | 49 |
options := &LogoutOptions{
|
| 50 | 50 |
Out: out, |
| 51 | 51 |
} |
| ... | ... |
@@ -53,7 +53,7 @@ func NewCmdLogout(name, fullName, oscLoginFullCommand string, f *osclientcmd.Fac |
| 53 | 53 |
cmds := &cobra.Command{
|
| 54 | 54 |
Use: name, |
| 55 | 55 |
Short: "End the current server session", |
| 56 |
- Long: fmt.Sprintf(logoutLong, oscLoginFullCommand), |
|
| 56 |
+ Long: fmt.Sprintf(logoutLong, ocLoginFullCommand), |
|
| 57 | 57 |
Example: fmt.Sprintf(logoutExample, fullName), |
| 58 | 58 |
Run: func(cmd *cobra.Command, args []string) {
|
| 59 | 59 |
if err := options.Complete(f, cmd, args); err != nil {
|
| ... | ... |
@@ -45,14 +45,14 @@ After your project is created it will be made your default project in your confi |
| 45 | 45 |
$ %[1]s web-team-dev --display-name="Web Team Development" --description="Development project for the web team."` |
| 46 | 46 |
) |
| 47 | 47 |
|
| 48 |
-func NewCmdRequestProject(name, fullName, oscLoginName, oscProjectName string, f *clientcmd.Factory, out io.Writer) *cobra.Command {
|
|
| 48 |
+func NewCmdRequestProject(name, fullName, ocLoginName, ocProjectName string, f *clientcmd.Factory, out io.Writer) *cobra.Command {
|
|
| 49 | 49 |
options := &NewProjectOptions{}
|
| 50 | 50 |
options.Out = out |
| 51 | 51 |
|
| 52 | 52 |
cmd := &cobra.Command{
|
| 53 | 53 |
Use: fmt.Sprintf("%s NAME [--display-name=DISPLAYNAME] [--description=DESCRIPTION]", name),
|
| 54 | 54 |
Short: "Request a new project", |
| 55 |
- Long: fmt.Sprintf(requestProjectLong, oscLoginName, oscProjectName), |
|
| 55 |
+ Long: fmt.Sprintf(requestProjectLong, ocLoginName, ocProjectName), |
|
| 56 | 56 |
Example: fmt.Sprintf(requestProjectExample, fullName), |
| 57 | 57 |
Run: func(cmd *cobra.Command, args []string) {
|
| 58 | 58 |
if err := options.complete(cmd, f); err != nil {
|