kcl-lang / cli

The KCL Command Line Interface (CLI).
https://kcl-lang.io
Apache License 2.0
19 stars 14 forks source link

feat: support flag when add oci ref #140

Closed zong-zhe closed 2 months ago

zong-zhe commented 2 months ago

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

coveralls commented 2 months ago

Pull Request Test Coverage Report for Build 10594076010

Details


Totals Coverage Status
Change from base Build 10558688220: 0.0%
Covered Lines: 89
Relevant Lines: 620

💛 - Coveralls
Peefy commented 2 months ago

We add to support the following pattern for OCI source, the tag denotes the OCI source and version is the version defined in the kcl.mod file. Besides, the --oci flag can be omitted.

kcl mod add [<package>@version] --oci foo --tag bar