Skip to content

feat: Setup the OCM CLI with Cobra and automatically generate its reference documentation#50

Merged
jakobmoellerdev merged 12 commits into
open-component-model:mainfrom
jakobmoellerdev:setup-cli
Apr 2, 2025
Merged

feat: Setup the OCM CLI with Cobra and automatically generate its reference documentation#50
jakobmoellerdev merged 12 commits into
open-component-model:mainfrom
jakobmoellerdev:setup-cli

Conversation

@jakobmoellerdev

Copy link
Copy Markdown
Member

What this PR does / why we need it

This is the base scaffolding to start building our new OCM Command Line. I used the inbuilt Generator from Cobra to generate the reference documentation and it will likely have to be adjusted a bit if we want to cross link but for a start this should be good.

This also adds a default task command to build the cli.

Which issue(s) this PR fixes

Skarlso and others added 9 commits April 1, 2025 09:09
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>

On-behalf-of: @SAP gergely.brautigam@sap.com
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
…out pointer

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
# Conflicts:
#	Taskfile.yml
#	cli/Taskfile.yml
#	cli/configuration/v1/config.go
#	cli/configuration/v1/filter_test.go
#	cli/configuration/v1/flat_map.go
#	cli/configuration/v1/flat_map_test.go
#	cli/configuration/v1/ocm_config.go
#	cli/configuration/v1/ocm_config_test.go
#	cli/configuration/v1/zz_generated.deepcopy.go
#	cli/go.mod
#	cli/go.sum
#	tools.Taskfile.yml
@github-actions github-actions Bot added kind/feature new feature, enhancement, improvement, extension size/m Medium area/documentation Documentation related size/l Large component/github-actions Changes on GitHub Actions or within `.github/` directory and removed size/m Medium labels Apr 1, 2025
@jakobmoellerdev jakobmoellerdev marked this pull request as ready for review April 1, 2025 14:03
@jakobmoellerdev jakobmoellerdev requested a review from a team as a code owner April 1, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/documentation Documentation related component/github-actions Changes on GitHub Actions or within `.github/` directory kind/feature new feature, enhancement, improvement, extension size/l Large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants