Skip to content

Commit

Permalink
docs(cli): inform --changelog requires --unstable-kv
Browse files Browse the repository at this point in the history
  • Loading branch information
hasundue committed Aug 2, 2024
1 parent 172faef commit 3c1c9ce
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
30 changes: 14 additions & 16 deletions cli/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# @molt/cli

## Installation (optional)

The molt CLI can be installed globally with the following command, for example:
Expand Down Expand Up @@ -32,20 +30,20 @@ Description:
Options:
-h, --help - Show this help.
-v, --version - Print version info.
-w, --write - Write changes to the local files. (Conflicts: --commit)
-c, --commit - Commit changes to the local git repository. (Conflicts: --write)
--changelog [types] - Print a curated changelog for each update.
--config <file> - Specify the Deno configuration file.
--dry-run - See what would happen without actually doing it.
--ignore <pattern> - Specify dependencies to ignore.
--only <pattern> - Specify dependencies to check.
--lock <file> - Specify the lock file.
--no-config - Disable automatic loading of the configuration file.
--no-lock - Disable automatic loading of the lock file.
--pre-commit <tasks> - Run tasks before each commit (Depends: --commit)
--prefix <prefix> - Prefix for commit messages (Depends: --commit)
-h, --help - Show this help.
-v, --version - Print version info.
-w, --write - Write changes to the local files. (Conflicts: --commit)
-c, --commit - Commit changes to the local git repository. (Conflicts: --write)
--changelog [types] - Print commits for each update. (requires --unstable-kv)
--config <file> - Specify the Deno configuration file.
--dry-run - See what would happen without actually doing it.
--ignore <pattern> - Specify dependencies to ignore.
--only <pattern> - Specify dependencies to check.
--lock <file> - Specify the lock file.
--no-config - Disable automatic loading of the configuration file.
--no-lock - Disable automatic loading of the lock file.
--pre-commit <tasks> - Run tasks before each commit (Depends: --commit)
--prefix <prefix> - Prefix for commit messages (Depends: --commit)
--referrer - Print files that import the dependency.
```

Expand Down
2 changes: 1 addition & 1 deletion cli/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const main = new Command()
})
.option(
"--changelog=[types:string[]]",
"Print a curated changelog for each update.",
"Print commits for each update. (requires --unstable-kv)",
)
.option("--config <file:string>", "Specify the Deno configuration file.")
.option("--dry-run", "See what would happen without actually doing it.")
Expand Down

0 comments on commit 3c1c9ce

Please sign in to comment.