@tauri-apps/cli 2.0.0-alpha.15 → 2.0.0-alpha.17

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/CHANGELOG.md CHANGED
@@ -1,5 +1,52 @@
1
1
  # Changelog
2
2
 
3
+ ## \[2.0.0-alpha.17]
4
+
5
+ ### Enhancements
6
+
7
+ - [`c6c59cf2`](https://www.github.com/tauri-apps/tauri/commit/c6c59cf2373258b626b00a26f4de4331765dd487) Pull changes from Tauri 1.5 release.
8
+
9
+ ### Dependencies
10
+
11
+ - Upgraded to `tauri-cli@2.0.0-alpha.17`
12
+
13
+ ### Breaking Changes
14
+
15
+ - [`198abe3c`](https://www.github.com/tauri-apps/tauri/commit/198abe3c2cae06dacab860b3a93f715dcf529a95)([#8076](https://www.github.com/tauri-apps/tauri/pull/8076)) Updated the mobile plugin templates following the tauri v2.0.0-alpha.17 changes.
16
+
17
+ ## \[2.0.0-alpha.16]
18
+
19
+ ### New Features
20
+
21
+ - [`8b166e9b`](https://www.github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433)([#7949](https://www.github.com/tauri-apps/tauri/pull/7949)) Add `--no-dev-server-wait` option to skip waiting for the dev server to start when using `tauri dev`.
22
+
23
+ ### Dependencies
24
+
25
+ - Upgraded to `tauri-cli@2.0.0-alpha.16`
26
+
27
+ ### Breaking Changes
28
+
29
+ - [`8b166e9b`](https://www.github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433)([#7949](https://www.github.com/tauri-apps/tauri/pull/7949)) Changed a number of environment variables used by tauri CLI for consistency and clarity:
30
+
31
+ - `TAURI_PRIVATE_KEY` -> `TAURI_SIGNING_PRIVATE_KEY`
32
+ - `TAURI_KEY_PASSWORD` -> `TAURI_SIGNING_PRIVATE_KEY_PASSWORD`
33
+ - `TAURI_SKIP_DEVSERVER_CHECK` -> `TAURI_CLI_NO_DEV_SERVER_WAIT`
34
+ - `TAURI_DEV_SERVER_PORT` -> `TAURI_CLI_PORT`
35
+ - `TAURI_PATH_DEPTH` -> `TAURI_CLI_CONFIG_DEPTH`
36
+ - `TAURI_FIPS_COMPLIANT` -> `TAURI_BUNDLER_WIX_FIPS_COMPLIANT`
37
+ - `TAURI_DEV_WATCHER_IGNORE_FILE` -> `TAURI_CLI_WATCHER_IGNORE_FILENAME`
38
+ - `TAURI_TRAY` -> `TAURI_LINUX_AYATANA_APPINDICATOR`
39
+ - `TAURI_APPLE_DEVELOPMENT_TEAM` -> `APPLE_DEVELOPMENT_TEAM`
40
+ - [`4caa1cca`](https://www.github.com/tauri-apps/tauri/commit/4caa1cca990806f2c2ef32d5dabaf56e82f349e6)([#7990](https://www.github.com/tauri-apps/tauri/pull/7990)) The `tauri plugin` subcommand is receving a couple of consitency and quality of life improvements:
41
+
42
+ - Renamed `tauri plugin android/ios add` command to `tauri plugin android/ios init` to match the `tauri plugin init` command.
43
+ - Removed the `-n/--name` argument from the `tauri plugin init`, `tauri plugin android/ios init`, and is now parsed from the first positional argument.
44
+ - Added `tauri plugin new` to create a plugin in a new directory.
45
+ - Changed `tauri plugin init` to initalize a plugin in an existing directory (defaults to current directory) instead of creating a new one.
46
+ - Changed `tauri plugin init` to NOT generate mobile projects by default, you can opt-in to generate them using `--android` and `--ios` flags or `--mobile` flag or initalize them later using `tauri plugin android/ios init`.
47
+ - [`8b166e9b`](https://www.github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433)([#7949](https://www.github.com/tauri-apps/tauri/pull/7949)) Removed checking for a new version of the CLI.
48
+ - [`ebcc21e4`](https://www.github.com/tauri-apps/tauri/commit/ebcc21e4b95f4e8c27639fb1bca545b432f52d5e)([#8057](https://www.github.com/tauri-apps/tauri/pull/8057)) Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables from `TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG` to `TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG` to differentiate the prefix with other CLI environment variables.
49
+
3
50
  ## \[2.0.0-alpha.15]
4
51
 
5
52
  ### New Features
@@ -207,6 +254,66 @@
207
254
  - First mobile alpha release!
208
255
  - [fa3a1098](https://www.github.com/tauri-apps/tauri/commit/fa3a10988a03aed1b66fb17d893b1a9adb90f7cd) feat(ci): prepare 2.0.0-alpha.0 ([#5786](https://www.github.com/tauri-apps/tauri/pull/5786)) on 2022-12-08
209
256
 
257
+ ## \[1.5.5]
258
+
259
+ ### Enhancements
260
+
261
+ - [`9bead42d`](https://www.github.com/tauri-apps/tauri/commit/9bead42dbca0fb6dd7ea0b6bfb2f2308a5c5f992)([#8059](https://www.github.com/tauri-apps/tauri/pull/8059)) Allow rotating the updater private key.
262
+
263
+ ### Bug Fixes
264
+
265
+ - [`be8e5aa3`](https://www.github.com/tauri-apps/tauri/commit/be8e5aa3071d9bc5d0bd24647e8168f312d11c8d)([#8042](https://www.github.com/tauri-apps/tauri/pull/8042)) Fixes duplicated newlines on command outputs.
266
+
267
+ ### Dependencies
268
+
269
+ - Upgraded to `tauri-cli@1.5.5`
270
+
271
+ ## \[1.5.4]
272
+
273
+ ### Dependencies
274
+
275
+ - Upgraded to `tauri-cli@1.5.4`
276
+
277
+ ## \[1.5.3]
278
+
279
+ ### Dependencies
280
+
281
+ - Upgraded to `tauri-cli@1.5.3`
282
+
283
+ ## \[1.5.2]
284
+
285
+ ### Dependencies
286
+
287
+ - Upgraded to `tauri-cli@1.5.2`
288
+
289
+ ## \[1.5.1]
290
+
291
+ ### Bug Fixes
292
+
293
+ - [`d6eb46cf`](https://www.github.com/tauri-apps/tauri/commit/d6eb46cf1116d147121f6b6db9d390b5e2fb238d)([#7934](https://www.github.com/tauri-apps/tauri/pull/7934)) On macOS, fix the `apple-id` option name when using `notarytools submit`.
294
+
295
+ ### Dependencies
296
+
297
+ - Upgraded to `tauri-cli@1.5.1`
298
+
299
+ ## \[1.5.0]
300
+
301
+ ### New Features
302
+
303
+ - [`e1526626`](https://www.github.com/tauri-apps/tauri/commit/e152662687ece7a62d383923a50751cc0dd34331)([#7723](https://www.github.com/tauri-apps/tauri/pull/7723)) Support Bun package manager in CLI
304
+
305
+ ### Enhancements
306
+
307
+ - [`13279917`](https://www.github.com/tauri-apps/tauri/commit/13279917d4cae071d0ce3a686184d48af079f58a)([#7713](https://www.github.com/tauri-apps/tauri/pull/7713)) Add version of Rust Tauri CLI installed with Cargo to `tauri info` command.
308
+
309
+ ### Bug Fixes
310
+
311
+ - [`dad4f54e`](https://www.github.com/tauri-apps/tauri/commit/dad4f54eec9773d2ea6233a7d9fd218741173823)([#7277](https://www.github.com/tauri-apps/tauri/pull/7277)) Removed the automatic version check of the CLI that ran after `tauri` commands which caused various issues.
312
+
313
+ ### Dependencies
314
+
315
+ - Upgraded to `tauri-cli@1.5.0`
316
+
210
317
  ## \[1.4.0]
211
318
 
212
319
  ### New Features
package/Cargo.toml CHANGED
@@ -11,7 +11,7 @@ crate-type = ["cdylib"]
11
11
  napi = { version = "2.13", default-features = false, features = ["napi4"] }
12
12
  napi-derive = "2.13"
13
13
  tauri-cli = { path = "..", default-features = false }
14
- log = "0.4.19"
14
+ log = "0.4.20"
15
15
 
16
16
  [build-dependencies]
17
17
  napi-build = "2.0"
package/README.md CHANGED
@@ -19,7 +19,7 @@ Tauri is a polyglot and generic system that is very composable and allows engine
19
19
 
20
20
  Tauri apps can have custom menus and have tray-type interfaces. They can be updated, and are managed by the user's operating system as expected. They are very small, because they use the system's webview. They do not ship a runtime, since the final binary is compiled from rust. This makes the reversing of Tauri apps not a trivial task.
21
21
  ## This module
22
- Written in Typescript and packaged such that it can be used with `npm`, `pnpm`, and `yarn`, this library provides a node.js runner for common tasks when using Tauri, like `yarn tauri dev`. For the most part it is a wrapper around [tauri-cli](https://github.com/tauri-apps/tauri/blob/dev/tooling/cli).
22
+ Written in Typescript and packaged such that it can be used with `npm`, `pnpm`, `yarn`, and `bun`, this library provides a node.js runner for common tasks when using Tauri, like `yarn tauri dev`. For the most part it is a wrapper around [tauri-cli](https://github.com/tauri-apps/tauri/blob/dev/tooling/cli).
23
23
 
24
24
  To learn more about the details of how all of these pieces fit together, please consult this [ARCHITECTURE.md](https://github.com/tauri-apps/tauri/blob/dev/ARCHITECTURE.md) document.
25
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tauri-apps/cli",
3
- "version": "2.0.0-alpha.15",
3
+ "version": "2.0.0-alpha.17",
4
4
  "description": "Command line interface for building Tauri apps",
5
5
  "funding": {
6
6
  "type": "opencollective",
@@ -42,13 +42,12 @@
42
42
  "cross-env": "7.0.3",
43
43
  "cross-spawn": "7.0.3",
44
44
  "fs-extra": "11.1.1",
45
- "jest": "29.5.0",
45
+ "jest": "29.7.0",
46
46
  "jest-transform-toml": "1.0.0",
47
47
  "prettier": "2.8.8"
48
48
  },
49
49
  "resolutions": {
50
- "json5": "2.2.3",
51
- "semver": ">=7.5.2"
50
+ "json5": "2.2.3"
52
51
  },
53
52
  "engines": {
54
53
  "node": ">= 10"
@@ -68,17 +67,16 @@
68
67
  "format": "prettier --write ./package.json ./tauri.js",
69
68
  "format:check": "prettier --check ./package.json ./tauri.js"
70
69
  },
71
- "dependencies": {},
72
70
  "optionalDependencies": {
73
- "@tauri-apps/cli-win32-x64-msvc": "2.0.0-alpha.15",
74
- "@tauri-apps/cli-darwin-x64": "2.0.0-alpha.15",
75
- "@tauri-apps/cli-linux-x64-gnu": "2.0.0-alpha.15",
76
- "@tauri-apps/cli-darwin-arm64": "2.0.0-alpha.15",
77
- "@tauri-apps/cli-linux-arm64-gnu": "2.0.0-alpha.15",
78
- "@tauri-apps/cli-linux-arm64-musl": "2.0.0-alpha.15",
79
- "@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-alpha.15",
80
- "@tauri-apps/cli-linux-x64-musl": "2.0.0-alpha.15",
81
- "@tauri-apps/cli-win32-ia32-msvc": "2.0.0-alpha.15",
82
- "@tauri-apps/cli-win32-arm64-msvc": "2.0.0-alpha.15"
71
+ "@tauri-apps/cli-win32-x64-msvc": "2.0.0-alpha.17",
72
+ "@tauri-apps/cli-darwin-x64": "2.0.0-alpha.17",
73
+ "@tauri-apps/cli-linux-x64-gnu": "2.0.0-alpha.17",
74
+ "@tauri-apps/cli-darwin-arm64": "2.0.0-alpha.17",
75
+ "@tauri-apps/cli-linux-arm64-gnu": "2.0.0-alpha.17",
76
+ "@tauri-apps/cli-linux-arm64-musl": "2.0.0-alpha.17",
77
+ "@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-alpha.17",
78
+ "@tauri-apps/cli-linux-x64-musl": "2.0.0-alpha.17",
79
+ "@tauri-apps/cli-win32-ia32-msvc": "2.0.0-alpha.17",
80
+ "@tauri-apps/cli-win32-arm64-msvc": "2.0.0-alpha.17"
83
81
  }
84
82
  }
package/schema.json CHANGED
@@ -440,6 +440,11 @@
440
440
  "default": true,
441
441
  "type": "boolean"
442
442
  },
443
+ "alwaysOnBottom": {
444
+ "description": "Whether the window should always be below other windows.",
445
+ "default": false,
446
+ "type": "boolean"
447
+ },
443
448
  "alwaysOnTop": {
444
449
  "description": "Whether the window should always be on top of other windows.",
445
450
  "default": false,
@@ -796,6 +801,27 @@
796
801
  "micaLight"
797
802
  ]
798
803
  },
804
+ {
805
+ "description": "Tabbed effect that matches the system dark perefence **Windows 11 Only**",
806
+ "type": "string",
807
+ "enum": [
808
+ "tabbed"
809
+ ]
810
+ },
811
+ {
812
+ "description": "Tabbed effect with dark mode but only if dark mode is enabled on the system **Windows 11 Only**",
813
+ "type": "string",
814
+ "enum": [
815
+ "tabbedDark"
816
+ ]
817
+ },
818
+ {
819
+ "description": "Tabbed effect with light mode **Windows 11 Only**",
820
+ "type": "string",
821
+ "enum": [
822
+ "tabbedLight"
823
+ ]
824
+ },
799
825
  {
800
826
  "description": "**Windows 7/10/11(22H1) Only**\n\n## Notes\n\nThis effect has bad performance when resizing/dragging the window on Windows 11 build 22621.",
801
827
  "type": "string",
@@ -908,13 +934,14 @@
908
934
  },
909
935
  "resources": {
910
936
  "description": "App resources to bundle. Each resource is a path to a file or directory. Glob patterns are supported.",
911
- "type": [
912
- "array",
913
- "null"
914
- ],
915
- "items": {
916
- "type": "string"
917
- }
937
+ "anyOf": [
938
+ {
939
+ "$ref": "#/definitions/BundleResources"
940
+ },
941
+ {
942
+ "type": "null"
943
+ }
944
+ ]
918
945
  },
919
946
  "copyright": {
920
947
  "description": "A copyright string associated with your application.",
@@ -1137,6 +1164,25 @@
1137
1164
  }
1138
1165
  ]
1139
1166
  },
1167
+ "BundleResources": {
1168
+ "description": "Definition for bundle resources. Can be either a list of paths to include or a map of source to target paths.",
1169
+ "anyOf": [
1170
+ {
1171
+ "description": "A list of paths to include.",
1172
+ "type": "array",
1173
+ "items": {
1174
+ "type": "string"
1175
+ }
1176
+ },
1177
+ {
1178
+ "description": "A map of source to target paths.",
1179
+ "type": "object",
1180
+ "additionalProperties": {
1181
+ "type": "string"
1182
+ }
1183
+ }
1184
+ ]
1185
+ },
1140
1186
  "FileAssociation": {
1141
1187
  "description": "File association",
1142
1188
  "type": "object",
@@ -1152,7 +1198,7 @@
1152
1198
  }
1153
1199
  },
1154
1200
  "name": {
1155
- "description": "The name. Maps to `CFBundleTypeName` on macOS. Default to ext[0]",
1201
+ "description": "The name. Maps to `CFBundleTypeName` on macOS. Default to `ext[0]`",
1156
1202
  "type": [
1157
1203
  "string",
1158
1204
  "null"
@@ -1727,6 +1773,17 @@
1727
1773
  "description": "Whether to display a language selector dialog before the installer and uninstaller windows are rendered or not. By default the OS language is selected, with a fallback to the first language in the `languages` array.",
1728
1774
  "default": false,
1729
1775
  "type": "boolean"
1776
+ },
1777
+ "compression": {
1778
+ "description": "Set the compression algorithm used to compress files in the installer.\n\nSee <https://nsis.sourceforge.io/Reference/SetCompressor>",
1779
+ "anyOf": [
1780
+ {
1781
+ "$ref": "#/definitions/NsisCompression"
1782
+ },
1783
+ {
1784
+ "type": "null"
1785
+ }
1786
+ ]
1730
1787
  }
1731
1788
  },
1732
1789
  "additionalProperties": false
@@ -1757,12 +1814,38 @@
1757
1814
  }
1758
1815
  ]
1759
1816
  },
1817
+ "NsisCompression": {
1818
+ "description": "Compression algorithms used in the NSIS installer.\n\nSee <https://nsis.sourceforge.io/Reference/SetCompressor>",
1819
+ "oneOf": [
1820
+ {
1821
+ "description": "ZLIB uses the deflate algorithm, it is a quick and simple method. With the default compression level it uses about 300 KB of memory.",
1822
+ "type": "string",
1823
+ "enum": [
1824
+ "zlib"
1825
+ ]
1826
+ },
1827
+ {
1828
+ "description": "BZIP2 usually gives better compression ratios than ZLIB, but it is a bit slower and uses more memory. With the default compression level it uses about 4 MB of memory.",
1829
+ "type": "string",
1830
+ "enum": [
1831
+ "bzip2"
1832
+ ]
1833
+ },
1834
+ {
1835
+ "description": "LZMA (default) is a new compression method that gives very good compression ratios. The decompression speed is high (10-20 MB/s on a 2 GHz CPU), the compression speed is lower. The memory size that will be used for decompression is the dictionary size plus a few KBs, the default is 8 MB.",
1836
+ "type": "string",
1837
+ "enum": [
1838
+ "lzma"
1839
+ ]
1840
+ }
1841
+ ]
1842
+ },
1760
1843
  "IosConfig": {
1761
1844
  "description": "General configuration for the iOS target.",
1762
1845
  "type": "object",
1763
1846
  "properties": {
1764
1847
  "developmentTeam": {
1765
- "description": "The development team. This value is required for iOS development because code signing is enforced. The `TAURI_APPLE_DEVELOPMENT_TEAM` environment variable can be set to overwrite it.",
1848
+ "description": "The development team. This value is required for iOS development because code signing is enforced. The `APPLE_DEVELOPMENT_TEAM` environment variable can be set to overwrite it.",
1766
1849
  "type": [
1767
1850
  "string",
1768
1851
  "null"
@@ -1993,7 +2076,7 @@
1993
2076
  }
1994
2077
  },
1995
2078
  "plugins": {
1996
- "description": "The list of plugins that are allowed in this scope.",
2079
+ "description": "The list of plugins that are allowed in this scope. The names should be without the `tauri-plugin-` prefix, for example `\"store\"` for `tauri-plugin-store`.",
1997
2080
  "default": [],
1998
2081
  "type": "array",
1999
2082
  "items": {
@@ -2140,7 +2223,7 @@
2140
2223
  ]
2141
2224
  },
2142
2225
  "beforeDevCommand": {
2143
- "description": "A shell command to run before `tauri dev` kicks in.\n\nThe TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG environment variables are set if you perform conditional compilation.",
2226
+ "description": "A shell command to run before `tauri dev` kicks in.\n\nThe TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG environment variables are set if you perform conditional compilation.",
2144
2227
  "anyOf": [
2145
2228
  {
2146
2229
  "$ref": "#/definitions/BeforeDevCommand"
@@ -2151,7 +2234,7 @@
2151
2234
  ]
2152
2235
  },
2153
2236
  "beforeBuildCommand": {
2154
- "description": "A shell command to run before `tauri build` kicks in.\n\nThe TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG environment variables are set if you perform conditional compilation.",
2237
+ "description": "A shell command to run before `tauri build` kicks in.\n\nThe TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG environment variables are set if you perform conditional compilation.",
2155
2238
  "anyOf": [
2156
2239
  {
2157
2240
  "$ref": "#/definitions/HookCommand"
@@ -2162,7 +2245,7 @@
2162
2245
  ]
2163
2246
  },
2164
2247
  "beforeBundleCommand": {
2165
- "description": "A shell command to run before the bundling phase in `tauri build` kicks in.\n\nThe TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG environment variables are set if you perform conditional compilation.",
2248
+ "description": "A shell command to run before the bundling phase in `tauri build` kicks in.\n\nThe TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG environment variables are set if you perform conditional compilation.",
2166
2249
  "anyOf": [
2167
2250
  {
2168
2251
  "$ref": "#/definitions/HookCommand"
package/tauri.js CHANGED
@@ -7,7 +7,7 @@
7
7
  const cli = require('./main')
8
8
  const path = require('path')
9
9
 
10
- const [bin, script, ...arguments] = process.argv
10
+ const [bin, script, ...args] = process.argv
11
11
  const binStem = path.parse(bin).name.toLowerCase()
12
12
 
13
13
  // We want to make a helpful binary name for the underlying CLI helper, if we
@@ -20,7 +20,7 @@ if (bin === '@tauri-apps/cli') {
20
20
  }
21
21
  // Even if started by a package manager, the binary will be NodeJS.
22
22
  // Some distribution still use "nodejs" as the binary name.
23
- else if (binStem.match(/(nodejs|node)\-?([0-9]*)*$/g)) {
23
+ else if (binStem.match(/(nodejs|node|bun)\-?([0-9]*)*$/g)) {
24
24
  const managerStem = process.env.npm_execpath
25
25
  ? path.parse(process.env.npm_execpath).name.toLowerCase()
26
26
  : null
@@ -32,7 +32,7 @@ else if (binStem.match(/(nodejs|node)\-?([0-9]*)*$/g)) {
32
32
  manager = 'npm'
33
33
  break
34
34
 
35
- // Yarn and pnpm have the same stem name as their bin.
35
+ // Yarn, pnpm, and bun have the same stem name as their bin.
36
36
  // We assume all unknown package managers do as well.
37
37
  default:
38
38
  manager = managerStem
@@ -48,10 +48,10 @@ else if (binStem.match(/(nodejs|node)\-?([0-9]*)*$/g)) {
48
48
  }
49
49
  } else {
50
50
  // We don't know what started it, assume it's already stripped.
51
- arguments.unshift(bin)
51
+ args.unshift(bin)
52
52
  }
53
53
 
54
- cli.run(arguments, binName).catch((err) => {
54
+ cli.run(args, binName).catch((err) => {
55
55
  cli.logError(err.message)
56
56
  process.exit(1)
57
57
  })