@tolgee/cli
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -17,3 +17,3 @@ import { Command, Option } from 'commander'; | ||
filterState: opts.states, | ||
structureDelimiter: opts.delimiter, | ||
structureDelimiter: opts.delimiter ?? '', | ||
filterNamespace: opts.namespaces, | ||
@@ -47,5 +47,3 @@ filterTagIn: opts.tags, | ||
.argParser((v, a) => [v.toUpperCase(), ...(a || [])])) | ||
.addOption(new Option('-d, --delimiter', 'Structure delimiter to use. By default, Tolgee interprets `.` as a nested structure. You can change the delimiter, or disable structure formatting by not specifying any value to the option') | ||
.default(config.pull?.delimiter ?? '.') | ||
.argParser((v) => v || '')) | ||
.addOption(new Option('-d, --delimiter <delimiter>', 'Structure delimiter to use. By default, Tolgee interprets `.` as a nested structure. You can change the delimiter, or disable structure formatting by not specifying any value to the option').default(config.pull?.delimiter === undefined ? '.' : config.pull.delimiter)) | ||
.addOption(new Option('-n, --namespaces <namespaces...>', 'List of namespaces to pull. Defaults to all namespaces').default(config.pull?.namespaces)) | ||
@@ -52,0 +50,0 @@ .addOption(new Option('-t, --tags <tags...>', 'List of tags which to include. Keys tagged by at least one of these tags will be included.').default(config.pull?.tags)) |
{ | ||
"name": "@tolgee/cli", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "A tool to interact with the Tolgee Platform through CLI", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
921414
4898