Skip to content

chaitin-cli 没有命令显示版本 #80

Closed

Description

@zTrix

希望增加一个版本命令,比如 chaitin-cli version 就能显示当前 chaitin-cli 的版本,不然下载了之后很快就忘了当前是什么版本了。

Activity

  1. jerrynbc commented on Sep 22, 2026

    @jerrynbc
    Collaborator

    已在 PR #82 实现:新增 chaitin-cli version 子命令(同时支持 chaitin-cli --version),并在 Taskfile/CI 中通过 -ldflags 注入真实版本号,未注入时回退到 Go 构建信息。

  2. added 2 commits that reference this issue on Sep 23, 2026
    d2d56a7
    fd8b4c8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions