Skip to content

Add --file flag to kit import to allow using existing Kitfiles#734

Merged
amisevsk merged 2 commits intokitops-ml:mainfrom
amisevsk:import-existing-kitfile
Jan 29, 2025
Merged

Add --file flag to kit import to allow using existing Kitfiles#734
amisevsk merged 2 commits intokitops-ml:mainfrom
amisevsk:import-existing-kitfile

Conversation

@amisevsk
Copy link
Copy Markdown
Contributor

Description

Add flag --file (-f) to kit import, with the same semantics as for kit push:

  • --file <path> to use an existing Kitfile for the imported repository
  • --file - to use a Kitfile from standard input (e.g. piped in)

Linked issues

N/A

Add flag --file (-f) to kit import to allowing using an existing Kitfile
for the imported repository.
If --file arg is '-', read Kitfile from standard input instead of from a
file (similarly to how it works for kit pack)
@amisevsk amisevsk requested a review from gorkem January 28, 2025 13:29
@amisevsk amisevsk merged commit 5c0d6f5 into kitops-ml:main Jan 29, 2025
@amisevsk amisevsk deleted the import-existing-kitfile branch January 29, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants