dependabot_gen 1.2.0 copy "dependabot_gen: ^1.2.0" to clipboard
dependabot_gen: ^1.2.0 copied to clipboard

Dependabot gen is a Dart CLI tool to assist in the creation and maintenance of dependabot.yaml files in a project.

example/README.md

create command #

This command will search for packages to be covered by the repos dependabot.yaml. If a dependabot.yaml already exists, it will keep the existing valid entries and remove the invalid ones (outdated).

Examples:

$ depgen create 

# Only consider some package ecosystems, and also ignore some paths for package verification.
$ depgen create --ecosystems cargo,pub,npm --ignore-paths test/fixtures

# Sets "some/path" as repository root and creates update entries with "monthly" schedules.
# Also sets the output to verbose.
$ depgen create --repo-root some/path --schedule-interval monthly --verbose

# See what else is available
$ depgen create --help

diagnose command #

This is mostly just like create, except it is a "dry-run", which means it will not create nor modify any files and will return a non-success code if it encounters anything that should be changed. It's ideal to run on CI.

Examples:

$ depgen diagnose


# Only consider some package ecosystems, and also ignore some paths for package verification.
$ depgen diagnose --ecosystems cargo,pub,npm --ignore-paths test/fixtures


# See what else is available
$ depgen diagnose --help
7
likes
150
points
72
downloads
screenshot

Publisher

verified publisherrenan.gg

Weekly Downloads

Dependabot gen is a Dart CLI tool to assist in the creation and maintenance of dependabot.yaml files in a project.

Repository (GitHub)
View/report issues

Topics

#cli #automation #bash #code-generation #dependabot

Documentation

Documentation
API reference

License

BSD-3-Clause (license)

Dependencies

args, checked_yaml, cli_completion, collection, equatable, git, json_annotation, mason_logger, meta, path, pub_updater, recase, yaml_edit, yaml_writer

More

Packages that depend on dependabot_gen