ctl-core 0.0.2

Shared clap chassis for the *ctl CLIs
Documentation
[settings]
lockfile = true

[tools]
committed = "1.1.11"
lefthook = "2.1.10"
rust = { version = "nightly", components = "rustfmt,clippy" }

[tasks.format]
description = "rustfmt check"
run = "cargo fmt --all -- --check"

[tasks.lint]
description = "clippy -D warnings"
run = "cargo clippy --all-targets --all-features -- -D warnings"

[tasks.commit-msg]
description = "Lint the git commit-msg file with committed"
usage = 'arg "<file>" help="Path to the commit message file"'
run = 'committed --commit-file "${usage_file}"'

[tasks.commits]
description = "Lint commit messages with committed"
usage = 'arg "[commits]" default="HEAD" help="Commit or range"'
run = 'committed "${usage_commits}"'

[tasks.verify]
description = "Format, lint, and test"
run = "mise run format && mise run lint && cargo test --all-features"