also looking at this
fix(cli): let packages.strategy reach its flags, and sync CLAUDE.md's embedded README
#1441
4 files
+182
-64
| @@ -657,7 +657,7 @@ cli | ||
| 657 | 657 | .option('--verbose, -v', 'Enable verbose logging') |
| 658 | 658 | .option('--packages <names>', 'Comma-separated list of packages to check') |
| 659 | 659 | .option('--pattern <pattern>', 'Glob pattern to match packages') |
| 660 | .option('--strategy <type>', 'Update strategy: major|minor|patch|all', { default: 'all' }) | |
| 660 | .option('--strategy <type>', 'Update strategy: major|minor|patch|all (default: packages.strategy from config, else all)') | |
| 661 | 661 | .option('--ignore <names>', 'Comma-separated list of packages to ignore') |
| 662 | 662 | .option('--respect-latest', 'Respect "latest", "*", and other dynamic version indicators (default: true)') |
| 663 | 663 | .option('--no-respect-latest', 'Allow updating "latest", "*", and other dynamic version indicators') |
| @@ -847,7 +847,7 @@ cli | ||
| 847 | 847 | cli |
| 848 | 848 | .command('update', 'Update dependencies and create PRs') |
| 849 | 849 | .option('--verbose, -v', 'Enable verbose logging') |
| 850 | .option('--strategy <type>', 'Update strategy: major|minor|patch|all', { default: 'all' }) | |
| 850 | .option('--strategy <type>', 'Update strategy: major|minor|patch|all (default: packages.strategy from config, else all)') | |
| 851 | 851 | .option('--ignore <names>', 'Comma-separated list of packages to ignore') |
| 852 | 852 | .option('--dry-run', 'Preview changes without making them') |
| 853 | 853 | .option('--reviewers <names>', 'Comma-separated reviewers to assign (overrides pullRequest.reviewers)') |
| @@ -1766,7 +1766,7 @@ cli | ||
| 1766 | 1766 | cli |
| 1767 | 1767 | .command('check <packages...>', 'Check specific packages for updates') |
| 1768 | 1768 | .option('--verbose, -v', 'Enable verbose logging') |
| 1769 | .option('--strategy <type>', 'Update strategy: major|minor|patch|all', { default: 'all' }) | |
| 1769 | .option('--strategy <type>', 'Update strategy: major|minor|patch|all (default: packages.strategy from config, else all)') | |
| 1770 | 1770 | .example('buddy check react typescript') |
| 1771 | 1771 | .example('buddy check react --verbose') |
| 1772 | 1772 | .action(async (...args: any[]) => { |
| @@ -1816,7 +1816,7 @@ cli | ||
| 1816 | 1816 | cli |
| 1817 | 1817 | .command('schedule', 'Run automated dependency updates on schedule') |
| 1818 | 1818 | .option('--verbose, -v', 'Enable verbose logging') |
| 1819 | .option('--strategy <type>', 'Update strategy: major|minor|patch|all', { default: 'all' }) | |
| 1819 | .option('--strategy <type>', 'Update strategy: major|minor|patch|all (default: packages.strategy from config, else all)') | |
| 1820 | 1820 | .example('buddy schedule') |
| 1821 | 1821 | .example('buddy schedule --verbose') |
| 1822 | 1822 | .example('buddy schedule --strategy patch') |