Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: kpm --version is missing, if the kpm installed by go install. #82

Closed
zong-zhe opened this issue May 23, 2023 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@zong-zhe
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

After installing kpm by go install, kpm --version is missing.

  1. Install kpm through go install.
$ go install kusionstack.io/kpm@latest
  1. kpm --version
$ kpm --version

2. What did you expect to see? (Required)

The kpm version number can be output normally.

3. What did you see instead (Required)

Incorrect Usage: flag provided but not defined: -version

NAME:
   kpm - kpm is a kcl package manager

USAGE:
   kpm  <command> [arguments]...

COMMANDS:
   init      initialize new module in current directory
   add       add new dependancy
   pkg       package a kcl package into tar
   metadata  output the resolved dependencies of a package
   run       compile kcl package.
   login     login to a registry
   logout    logout from a registry
   push      push kcl package to OCI registry.
   pull      pull kcl package from OCI registry.
   help, h   Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help
flag provided but not defined: -version

The kpm --version is missing.

4. What is your KusionStack components version? (Required)

The release tag of kpm is v0.2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant