Commit 8025a9b

Anton Golub <antongolub@antongolub.com>
2024-12-04 16:01:54
feat: add `--dry-run` alias (#88)
1 parent 7da8666
Changed files (1)
src/context.ts
@@ -42,6 +42,9 @@ export function createCtx(
   const argv = minimist(args, {
     string: ['data', 'repo', 'token', 'size', 'user', 'pick', 'omit'],
     boolean: ['dryrun', 'compact'],
+    alias: {
+      'dry-run': 'dryrun',
+    }
   })
   const {
     cwd: _cwd = CWD,