Skip to content

Commit fb584d8

Browse files
committed
chore: minor change the run command and documents
Signed-off-by: peefy <[email protected]>
1 parent 8e7ff30 commit fb584d8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

cmd/kcl/commands/lint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ For example, 'kcl lint path/to/kcl.k' will lint the file named path/to/kcl.k
1919
kcl lint path/to/kcl1.k path/to/kcl2.k
2020
2121
# Lint OCI packages
22-
kcl lint oci://ghcr.io/kcl-lang/hello-world
22+
kcl lint oci://ghcr.io/kcl-lang/helloworld
2323
2424
# Lint the current package
2525
kcl lint`

cmd/kcl/commands/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For example, 'kcl run path/to/kcl.k' will run the file named path/to/kcl.k
2222
kcl run path/to/kcl1.k path/to/kcl2.k
2323
2424
# Run OCI packages
25-
kcl run oci://ghcr.io/kcl-lang/hello-world
25+
kcl run oci://ghcr.io/kcl-lang/helloworld
2626
2727
# Run remote Git repo
2828
kcl run https://github.com/kcl-lang/flask-demo-kcl-manifests

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
kcl-lang.io/kcl-go v0.8.3
1111
kcl-lang.io/kcl-openapi v0.6.1
1212
kcl-lang.io/kcl-playground v0.5.1
13-
kcl-lang.io/kpm v0.8.5-0.20240402074140-19ebda3142e3
13+
kcl-lang.io/kpm v0.8.5-0.20240411042001-bb39f684f9c2
1414
)
1515

1616
require (

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1741,8 +1741,8 @@ kcl-lang.io/kcl-openapi v0.6.1 h1:iPH0EvPgDGZS5Lk00/Su5Av6AQP5IBG8f7gAUyevkHE=
17411741
kcl-lang.io/kcl-openapi v0.6.1/go.mod h1:Ai9mFztCVKkRSFabczO/r5hCNdqaNtAc2ZIRxTeV0Mk=
17421742
kcl-lang.io/kcl-playground v0.5.1 h1:MKQQUHgt4+2QyU2NVwa73oksOaBJGDi4keGoggA0MiU=
17431743
kcl-lang.io/kcl-playground v0.5.1/go.mod h1:IFmnlw7m011ccX8OidMUfnnN2u/TWdtQGxyABRTbmow=
1744-
kcl-lang.io/kpm v0.8.5-0.20240402074140-19ebda3142e3 h1:YShY5xJEVtwnDJ25ctgTPgglcG1jgaXfnU0ujoGT/ug=
1745-
kcl-lang.io/kpm v0.8.5-0.20240402074140-19ebda3142e3/go.mod h1:3atE1tEbsSPaAuKslkADH1HTDi7SMWlDWllmuk2XsBA=
1744+
kcl-lang.io/kpm v0.8.5-0.20240411042001-bb39f684f9c2 h1:SVSKqCqyr/QwZCtDe8wHqtCDX09J+nhhb2SlxQSG3D0=
1745+
kcl-lang.io/kpm v0.8.5-0.20240411042001-bb39f684f9c2/go.mod h1:3atE1tEbsSPaAuKslkADH1HTDi7SMWlDWllmuk2XsBA=
17461746
kcl-lang.io/lib v0.8.3 h1:Ft6Ti81PrSMpyJ1b/akKwMwtRcO7k7+Clwv0fMECZ+k=
17471747
kcl-lang.io/lib v0.8.3/go.mod h1:ubsalGXxJaa5II/EsHmsI/tL2EluYHIcW+BwzQPt+uY=
17481748
oras.land/oras-go v1.2.3 h1:v8PJl+gEAntI1pJ/LCrDgsuk+1PKVavVEPsYIHFE5uY=

0 commit comments

Comments
 (0)