Commit ceea433
chore!: migrate to native cobra library (#1504)
<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it
```
➜ ./bin/ocm install pllug
ocm install — Install New Ocm Cli Components
Synopsis:
ocm install [<options>] <sub-command> ...
Available Commands:
plugins install or update an OCM plugin
Options:
-h, --help help for install
Description:
Install new OCM CLI components
Use ocm install <command> -h for additional help.
ocm on remove-cobra-fork [$] via 🐹 v1.24.2
➜ git checkout main
Switched to branch 'main'
Your branch is up to date with 'origin/main'.
ocm on main [$] via 🐹 v1.24.2
➜ go build -o bin/ocm cmds/ocm/main.go
ocm on main [$] via 🐹 v1.24.2 took 20s
➜ ./bin/ocm install pllug
Error: unknown command "pllug" for "ocm install"
Run 'ocm install --help' for usage.
ocm on main [$] via 🐹 v1.24.2
```
#### Which issue(s) this PR fixes
<!--
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Co-authored-by: Jakob Möller <jakob.moeller@sap.com>1 parent 073a4ed commit ceea433
2 files changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| |||
1022 | 1022 | | |
1023 | 1023 | | |
1024 | 1024 | | |
1025 | | - | |
1026 | | - | |
1027 | 1025 | | |
1028 | 1026 | | |
1029 | 1027 | | |
| |||
1207 | 1205 | | |
1208 | 1206 | | |
1209 | 1207 | | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
1210 | 1211 | | |
1211 | 1212 | | |
1212 | 1213 | | |
| |||
0 commit comments