mix usage_rules.sync (usage_rules v0.1.2)
View SourceCombine the package rules for the provided packages into the provided file, or list/gather all dependencies.
Options
--all
- Gather usage rules from all dependencies that have them--list
- List all dependencies with usage rules. If a file is provided, shows status (present, missing, stale)--remove
- Remove specified packages from the target file instead of adding them
Examples
Combine specific packages:
mix usage_rules.sync rules.md ash ash_postgres phoenix
Gather all dependencies with usage rules:
mix usage_rules.sync rules.md --all
List all dependencies with usage rules:
mix usage_rules.sync --list
Check status of dependencies against a specific file:
mix usage_rules.sync rules.md --list
Remove specific packages from a file:
mix usage_rules.sync rules.md ash phoenix --remove