Crates.io | acknowledgements-rs |
lib.rs | acknowledgements-rs |
version | 1.0.1 |
source | src |
created_at | 2024-06-20 20:53:29.79781 |
updated_at | 2024-06-24 15:13:25.214814 |
description | acknowledge is a simple CLI tool to analyze dependencies of a Cargo (rust) project and produce an ACKNOWLEDMENTS.md file listing (major) contributors of your dependencies |
homepage | |
repository | https://github.com/anvlkv/acknowledgements |
max_upload_size | |
id | 1278557 |
size | 313,167 |
acknowledge
is a CLI tool for generating list of acknowledgements based on your Cargo.toml
file.
It works with github and gitlab APIs. Only public repos are supported.
cargo install acknowledgements-rs
acknowledge is a simple CLI tool to analyze dependencies of a Cargo (rust) project and produce an ACKNOWLEDMENTS.md file listing (major) contributors of your dependencies
Usage: acknowledge [OPTIONS] --path <PATH> [COMMAND]
Commands:
clear-cache Clears cache
help Print this message or the help of the given subcommand(s)
Options:
-p, --path <PATH>
Path to Cargo project for analysis
-g, --gh-token <GH_TOKEN>
Running Acknowledgements on any project of reasonable size you're likely to face rate limits. Please provide a personal access token
-o, --output <OUTPUT>
Output file path, defaults to project path if not provided
-m, --mention
Whether to include @ (at) symbol in front of a github user's name
-f, --format <FORMAT>
Format of the output file [default: NameAndCount]
-b, --breadth <BREADTH>
Breadth of scan, whether to include optional, build and dev deps contributors [default: NonOpt]
-c, --contributions-threshold <CONTRIBUTIONS_THRESHOLD>
Min number of contributions to be included in the list, doesn't apply to sole contributors [default: 2]
-s, --sources <SOURCES>
List other sources, not specified in Cargo.toml
-t, --template <TEMPLATE>
Use your own template. See https://github.com/anvlkv/acknowledgements/blob/main/src/template.md?plain=1 for reference
-h, --help
Print help
-V, --version
Print version
Be sure to provide one if you're waiting for limit reset for too long or too often. No permissions are needed for this token.
Links any repos not discoverable via Cargo.toml
NonOpt
- Non-optional dependenciesAll
- All dependenciesBuildAndDev
- All dependencies including [build-dependencies]
and [dev-dependencies]
NameAndCount
- Name of the contributor and count of contributions
DepAndNames
- Name of the dependency, names of contributors
NameAndDeps
- Name of the contributor, names of dependencies where they contributed
NameAndCount
- acknowledge -p .
DepAndNames
- acknowledge -p . -f DepAndNames
NameAndDeps
- acknowledge -p . -f NameAndDeps
BuildAndDev
- acknowledge -p . -b BuildAndDev