depfresh 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +6 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { defineCommand, runMain } from 'citty';
|
|
3
3
|
|
|
4
|
-
const version = "0.11.
|
|
4
|
+
const version = "0.11.1";
|
|
5
5
|
|
|
6
6
|
const migrationParityArgs = {
|
|
7
7
|
"ignore-paths": {
|
|
@@ -228,6 +228,11 @@ const main = defineCommand({
|
|
|
228
228
|
args,
|
|
229
229
|
async run({ args: args2 }) {
|
|
230
230
|
try {
|
|
231
|
+
if (args2.mode_arg === "help") {
|
|
232
|
+
const { showUsage } = await import('citty');
|
|
233
|
+
await showUsage(main);
|
|
234
|
+
process.exit(0);
|
|
235
|
+
}
|
|
231
236
|
if (args2["help-json"]) {
|
|
232
237
|
const { outputCliCapabilities } = await import('./chunks/capabilities.mjs');
|
|
233
238
|
outputCliCapabilities();
|