#conventional-commits #changelog #git #release #cli

app kokai

使用 Conventional Commits 创建您发布版本的变更日志以及项目的完整变更日志。

4 个版本 (2 个重大更改)

0.3.1 2021年1月15日
0.3.0 2021年1月14日
0.2.0 2020年11月28日
0.1.0 2020年11月11日

命令行工具 中排名 2920

MIT 许可证

37KB
1K SLoC

kokai

Rust Crates.io version shield Crates.io license shield

发布: kokai => Release/publish

Kokai 允许您使用 Conventional Commits 创建发布版本的变更日志以及项目的完整变更日志。

所有 kokai 命令

kokai 0.3.1

USAGE:
    kokai <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    changelog     Create a full changelog of your project
    completion    Generate autocompletion file for your shell
    help          Prints this message or the help of the given subcommand(s)
    release       Create a release changelog for a specified tag

发布

kokai-release 0.3.1
Jones Magloire @Joxit
Create a release changelog for a specified tag

USAGE:
    kokai release [FLAGS] [OPTIONS] --ref <ref> [repository]

FLAGS:
    -h, --help            Prints help information
        --no-emoji        Remove emojis from headers
        --tag-from-ref    Get the tag of the ref commit and use it as a release name. This is like `git describe --tags
                          --exact-match`
    -V, --version         Prints version information

OPTIONS:
        --add-links <add-links>    Add links to commits/issues/pr with specified url format (github/gitlab...). For
                                   commits only using github url format, use github:commits. For gitlab with commits and
                                   issues use gitlab:commits,issues
        --git-url <git-url>        The git url of the project. Should be a url using http protocol for links
        --name <name>              Explicit name for the release. Useful when tag is a commit or HEAD
        --ref <ref>                Create a release changelog from previous tag until this ref. Can be a tag, commit
                                   hash or branch

ARGS:
    <repository>    Path to the git repository [default: .]

变更日志

kokai-changelog 0.3.1
Jones Magloire @Joxit
Create a full changelog of your project

USAGE:
    kokai changelog [OPTIONS] [repository]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --ref <tag>    Create a full changelog from the first commit until this ref. Can be a tag, commit hash or branch

ARGS:
    <repository>    Path to the git repository [default: .]

依赖

~14–19MB
~440K SLoC