Skip to content

feat: add dir input to cli#450

Merged
jakobmoellerdev merged 1 commit into
open-component-model:mainfrom
ikhandamirov:add-dir-input-to-cli
Jul 24, 2025
Merged

feat: add dir input to cli#450
jakobmoellerdev merged 1 commit into
open-component-model:mainfrom
ikhandamirov:add-dir-input-to-cli

Conversation

@ikhandamirov

@ikhandamirov ikhandamirov commented Jul 23, 2025

Copy link
Copy Markdown
Contributor

What this PR does / why we need it

This PR adds the dir input method to the CLI. I.e. when merged, it will be possible to do ocm add cv command with --constructor flag pointing to a component-constructor.yaml, which has a resource with an input of type dir.

Supported scope:

  • Absolute paths or paths relative to the working directory in the path filed
  • Uncompressed input (compress field omitted or set to false)

Out of scope:

Which issue(s) this PR fixes

Signed-off-by: Ilya Khandamirov <ilya.khandamirov@sap.com>
@github-actions github-actions Bot added kind/feature new feature, enhancement, improvement, extension size/s Small labels Jul 23, 2025
@ikhandamirov ikhandamirov self-assigned this Jul 23, 2025
@ikhandamirov ikhandamirov marked this pull request as ready for review July 24, 2025 13:51
@ikhandamirov ikhandamirov requested a review from a team as a code owner July 24, 2025 13:51

@jakobmoellerdev jakobmoellerdev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳

@jakobmoellerdev jakobmoellerdev merged commit f94bc2b into open-component-model:main Jul 24, 2025
30 checks passed
@ikhandamirov ikhandamirov deleted the add-dir-input-to-cli branch July 24, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature new feature, enhancement, improvement, extension size/s Small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants