xcstrings-cli 2.7.0 → 2.7.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/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3087,7 +3087,7 @@ async function vl(e) {
|
|
|
3087
3087
|
}
|
|
3088
3088
|
}
|
|
3089
3089
|
const Bn = Ne(process.cwd(), "Localizable.xcstrings");
|
|
3090
|
-
Kr(Wr(process.argv)).scriptName("
|
|
3090
|
+
Kr(Wr(process.argv)).scriptName("xcs").usage("$0 <cmd> [args]").option("config", {
|
|
3091
3091
|
type: "string",
|
|
3092
3092
|
describe: "Path to config file"
|
|
3093
3093
|
}).option("path", {
|
|
@@ -3108,7 +3108,7 @@ Kr(Wr(process.argv)).scriptName("xcstrings").usage("$0 <cmd> [args]").option("co
|
|
|
3108
3108
|
Fo(),
|
|
3109
3109
|
pl(),
|
|
3110
3110
|
yl()
|
|
3111
|
-
]).demandCommand(1, "").strictCommands().recommendCommands().fail((e, n, r) => {
|
|
3111
|
+
]).demandCommand(1, "Please specify a command").strictCommands().recommendCommands().fail((e, n, r) => {
|
|
3112
3112
|
const i = n instanceof ae;
|
|
3113
3113
|
(e || i) && (console.error(S.red(e || n?.message || n)), console.log(), r.showHelp(), process.exit(1)), n && (console.error(S.red(n.message || n)), process.exit(1)), process.exit(1);
|
|
3114
3114
|
}).help().argv;
|