i18nexus-cli 3.8.0 → 3.8.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/bin/index.js CHANGED
@@ -49,7 +49,8 @@ program
49
49
  )
50
50
  .option(
51
51
  '--compact',
52
- 'Output JSON without extra whitespace (default is pretty-printed)'
52
+ 'Output JSON without extra whitespace (default is pretty-printed)',
53
+ false
53
54
  )
54
55
  .action(options => {
55
56
  pull({
@@ -275,7 +276,8 @@ program
275
276
  )
276
277
  .option(
277
278
  '--compact',
278
- 'Output JSON without extra whitespace (default is pretty-printed)'
279
+ 'Output JSON without extra whitespace (default is pretty-printed)',
280
+ false
279
281
  )
280
282
  .action(options => {
281
283
  listen({
@@ -5,7 +5,7 @@ const pull = require('../commands/pull');
5
5
  const baseUrl = require('../baseUrl');
6
6
  const { URL } = require('url');
7
7
 
8
- const listen = async ({ apiKey, path, compact = false }) => {
8
+ const listen = async ({ apiKey, path, compact }) => {
9
9
  await pull(
10
10
  {
11
11
  apiKey,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i18nexus-cli",
3
- "version": "3.8.0",
3
+ "version": "3.8.1",
4
4
  "description": "Command line interface (CLI) for accessing the i18nexus API",
5
5
  "main": "index.js",
6
6
  "bin": {