From 84507dd361f4c1ba37bfdb7005714bb817afb6b0 Mon Sep 17 00:00:00 2001 From: Uy Ha <8091245+uyha@users.noreply.github.com> Date: Mon, 4 Apr 2022 15:17:18 -0700 Subject: [PATCH] feat(args)!: prefix environment variables with `GIT_CLIFF_` (#76) * Prefix environment variable with `GIT_CLIFF_` * Update README.md * Format file --- README.md | 20 +++++++++--------- git-cliff/src/args.rs | 47 ++++++++++++++++++++++++++++--------------- 2 files changed, 41 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 678454ff32..526aaa0041 100644 --- a/README.md +++ b/README.md @@ -156,16 +156,16 @@ git-cliff [FLAGS] [OPTIONS] [--] [RANGE] **Options:** ``` --c, --config Sets the configuration file [env: CONFIG=] [default: cliff.toml] --w, --workdir Sets the working directory [env: WORKDIR=] --r, --repository Sets the git repository [env: REPOSITORY=] - --include-path ... Sets the path to include related commits [env: INCLUDE_PATH=] - --exclude-path ... Sets the path to exclude related commits [env: EXCLUDE_PATH=] - --with-commit ... Sets custom commit messages to include in the changelog [env: WITH_COMMIT=] --p, --prepend Prepends entries to the given changelog file [env: PREPEND=] --o, --output Writes output to the given file [env: OUTPUT=] --t, --tag Sets the tag for the latest version [env: TAG=] --b, --body