@localess/cli 0.0.1-dev.20260221224153 → 0.0.1-dev.20260222000532
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/README.md +1 -1
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ localess translations push <locale> --path <file> [--format <flat|nested>] [--ty
|
|
|
58
58
|
- `<locale>`: Locale code (e.g., `en`)
|
|
59
59
|
- `--path`: Path to the translations file to push (required)
|
|
60
60
|
- `--format`: File format (`flat` or `nested`, default: `flat`). **Note:** Only `flat` format is currently supported for push.
|
|
61
|
-
- `--type`: Push type (`add-missing`, `
|
|
61
|
+
- `--type`: Push type (`add-missing`, `update-existing`, `delete-missing`. Default: `add-missing`)
|
|
62
62
|
|
|
63
63
|
### Pull Translations
|
|
64
64
|
Pull translations from Localess and save locally.
|
package/dist/index.js
CHANGED
|
@@ -571,6 +571,7 @@ var import_commander5 = require("commander");
|
|
|
571
571
|
var TranslationUpdateType = /* @__PURE__ */ ((TranslationUpdateType2) => {
|
|
572
572
|
TranslationUpdateType2["ADD_MISSING"] = "add-missing";
|
|
573
573
|
TranslationUpdateType2["UPDATE_EXISTING"] = "update-existing";
|
|
574
|
+
TranslationUpdateType2["DELETE_MISSING"] = "delete-missing";
|
|
574
575
|
return TranslationUpdateType2;
|
|
575
576
|
})(TranslationUpdateType || {});
|
|
576
577
|
var TranslationFileFormat = /* @__PURE__ */ ((TranslationFileFormat2) => {
|
package/dist/index.mjs
CHANGED
|
@@ -548,6 +548,7 @@ import { Command as Command5 } from "commander";
|
|
|
548
548
|
var TranslationUpdateType = /* @__PURE__ */ ((TranslationUpdateType2) => {
|
|
549
549
|
TranslationUpdateType2["ADD_MISSING"] = "add-missing";
|
|
550
550
|
TranslationUpdateType2["UPDATE_EXISTING"] = "update-existing";
|
|
551
|
+
TranslationUpdateType2["DELETE_MISSING"] = "delete-missing";
|
|
551
552
|
return TranslationUpdateType2;
|
|
552
553
|
})(TranslationUpdateType || {});
|
|
553
554
|
var TranslationFileFormat = /* @__PURE__ */ ((TranslationFileFormat2) => {
|