Skip to content

Commit

Permalink
chore: minor change the run command and documents
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <xpf6677@163.com>
  • Loading branch information
Peefy committed Apr 11, 2024
1 parent 8e7ff30 commit fb584d8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/kcl/commands/lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For example, 'kcl lint path/to/kcl.k' will lint the file named path/to/kcl.k
kcl lint path/to/kcl1.k path/to/kcl2.k
# Lint OCI packages
kcl lint oci://ghcr.io/kcl-lang/hello-world
kcl lint oci://ghcr.io/kcl-lang/helloworld
# Lint the current package
kcl lint`
Expand Down
2 changes: 1 addition & 1 deletion cmd/kcl/commands/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ For example, 'kcl run path/to/kcl.k' will run the file named path/to/kcl.k
kcl run path/to/kcl1.k path/to/kcl2.k
# Run OCI packages
kcl run oci://ghcr.io/kcl-lang/hello-world
kcl run oci://ghcr.io/kcl-lang/helloworld
# Run remote Git repo
kcl run https://github.com/kcl-lang/flask-demo-kcl-manifests
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
kcl-lang.io/kcl-go v0.8.3
kcl-lang.io/kcl-openapi v0.6.1
kcl-lang.io/kcl-playground v0.5.1
kcl-lang.io/kpm v0.8.5-0.20240402074140-19ebda3142e3
kcl-lang.io/kpm v0.8.5-0.20240411042001-bb39f684f9c2
)

require (
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1741,8 +1741,8 @@ kcl-lang.io/kcl-openapi v0.6.1 h1:iPH0EvPgDGZS5Lk00/Su5Av6AQP5IBG8f7gAUyevkHE=
kcl-lang.io/kcl-openapi v0.6.1/go.mod h1:Ai9mFztCVKkRSFabczO/r5hCNdqaNtAc2ZIRxTeV0Mk=
kcl-lang.io/kcl-playground v0.5.1 h1:MKQQUHgt4+2QyU2NVwa73oksOaBJGDi4keGoggA0MiU=
kcl-lang.io/kcl-playground v0.5.1/go.mod h1:IFmnlw7m011ccX8OidMUfnnN2u/TWdtQGxyABRTbmow=
kcl-lang.io/kpm v0.8.5-0.20240402074140-19ebda3142e3 h1:YShY5xJEVtwnDJ25ctgTPgglcG1jgaXfnU0ujoGT/ug=
kcl-lang.io/kpm v0.8.5-0.20240402074140-19ebda3142e3/go.mod h1:3atE1tEbsSPaAuKslkADH1HTDi7SMWlDWllmuk2XsBA=
kcl-lang.io/kpm v0.8.5-0.20240411042001-bb39f684f9c2 h1:SVSKqCqyr/QwZCtDe8wHqtCDX09J+nhhb2SlxQSG3D0=
kcl-lang.io/kpm v0.8.5-0.20240411042001-bb39f684f9c2/go.mod h1:3atE1tEbsSPaAuKslkADH1HTDi7SMWlDWllmuk2XsBA=
kcl-lang.io/lib v0.8.3 h1:Ft6Ti81PrSMpyJ1b/akKwMwtRcO7k7+Clwv0fMECZ+k=
kcl-lang.io/lib v0.8.3/go.mod h1:ubsalGXxJaa5II/EsHmsI/tL2EluYHIcW+BwzQPt+uY=
oras.land/oras-go v1.2.3 h1:v8PJl+gEAntI1pJ/LCrDgsuk+1PKVavVEPsYIHFE5uY=
Expand Down

0 comments on commit fb584d8

Please sign in to comment.