balena-cli 19.1.1 → 19.1.2
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 +5 -0
- package/build/app.js +1 -1
- package/build/app.js.map +1 -1
- package/build/commands/api-key/generate.d.ts +1 -1
- package/build/commands/api-key/generate.js +1 -2
- package/build/commands/api-key/generate.js.map +1 -1
- package/build/commands/api-key/revoke.d.ts +1 -1
- package/build/commands/api-key/revoke.js +1 -2
- package/build/commands/api-key/revoke.js.map +1 -1
- package/build/commands/api-keys/index.d.ts +1 -1
- package/build/commands/api-keys/index.js +1 -2
- package/build/commands/api-keys/index.js.map +1 -1
- package/build/commands/app/create.d.ts +1 -1
- package/build/commands/app/create.js +1 -2
- package/build/commands/app/create.js.map +1 -1
- package/build/commands/block/create.d.ts +1 -1
- package/build/commands/block/create.js +1 -2
- package/build/commands/block/create.js.map +1 -1
- package/build/commands/build/index.d.ts +1 -1
- package/build/commands/build/index.js +5 -4
- package/build/commands/build/index.js.map +1 -1
- package/build/commands/config/generate.d.ts +1 -1
- package/build/commands/config/generate.js +1 -2
- package/build/commands/config/generate.js.map +1 -1
- package/build/commands/config/inject.d.ts +1 -1
- package/build/commands/config/inject.js +1 -2
- package/build/commands/config/inject.js.map +1 -1
- package/build/commands/config/read.d.ts +1 -1
- package/build/commands/config/read.js +2 -2
- package/build/commands/config/read.js.map +1 -1
- package/build/commands/config/reconfigure.d.ts +1 -1
- package/build/commands/config/reconfigure.js +1 -2
- package/build/commands/config/reconfigure.js.map +1 -1
- package/build/commands/config/write.d.ts +1 -1
- package/build/commands/config/write.js +1 -2
- package/build/commands/config/write.js.map +1 -1
- package/build/commands/deploy/index.d.ts +1 -1
- package/build/commands/deploy/index.js +3 -3
- package/build/commands/deploy/index.js.map +1 -1
- package/build/commands/device/deactivate.d.ts +1 -1
- package/build/commands/device/deactivate.js +1 -2
- package/build/commands/device/deactivate.js.map +1 -1
- package/build/commands/device/identify.d.ts +1 -1
- package/build/commands/device/identify.js +1 -2
- package/build/commands/device/identify.js.map +1 -1
- package/build/commands/device/index.d.ts +1 -1
- package/build/commands/device/index.js +1 -2
- package/build/commands/device/index.js.map +1 -1
- package/build/commands/device/init.d.ts +1 -1
- package/build/commands/device/init.js +3 -3
- package/build/commands/device/init.js.map +1 -1
- package/build/commands/device/list.d.ts +1 -1
- package/build/commands/device/list.js +2 -2
- package/build/commands/device/list.js.map +1 -1
- package/build/commands/device/local-mode.d.ts +1 -1
- package/build/commands/device/local-mode.js +1 -2
- package/build/commands/device/local-mode.js.map +1 -1
- package/build/commands/device/move.d.ts +1 -1
- package/build/commands/device/move.js +1 -2
- package/build/commands/device/move.js.map +1 -1
- package/build/commands/device/os-update.d.ts +1 -1
- package/build/commands/device/os-update.js +1 -2
- package/build/commands/device/os-update.js.map +1 -1
- package/build/commands/device/pin.d.ts +1 -1
- package/build/commands/device/pin.js +1 -2
- package/build/commands/device/pin.js.map +1 -1
- package/build/commands/device/public-url.d.ts +1 -1
- package/build/commands/device/public-url.js +1 -2
- package/build/commands/device/public-url.js.map +1 -1
- package/build/commands/device/purge.d.ts +1 -1
- package/build/commands/device/purge.js +1 -2
- package/build/commands/device/purge.js.map +1 -1
- package/build/commands/device/reboot.d.ts +1 -1
- package/build/commands/device/reboot.js +1 -2
- package/build/commands/device/reboot.js.map +1 -1
- package/build/commands/device/register.d.ts +1 -1
- package/build/commands/device/register.js +1 -2
- package/build/commands/device/register.js.map +1 -1
- package/build/commands/device/rename.d.ts +1 -1
- package/build/commands/device/rename.js +1 -2
- package/build/commands/device/rename.js.map +1 -1
- package/build/commands/device/restart.d.ts +1 -1
- package/build/commands/device/restart.js +1 -2
- package/build/commands/device/restart.js.map +1 -1
- package/build/commands/device/rm.d.ts +1 -1
- package/build/commands/device/rm.js +1 -2
- package/build/commands/device/rm.js.map +1 -1
- package/build/commands/device/shutdown.d.ts +1 -1
- package/build/commands/device/shutdown.js +1 -2
- package/build/commands/device/shutdown.js.map +1 -1
- package/build/commands/device/start-service.d.ts +1 -1
- package/build/commands/device/start-service.js +1 -2
- package/build/commands/device/start-service.js.map +1 -1
- package/build/commands/device/stop-service.d.ts +1 -1
- package/build/commands/device/stop-service.js +1 -2
- package/build/commands/device/stop-service.js.map +1 -1
- package/build/commands/device/track-fleet.d.ts +1 -1
- package/build/commands/device/track-fleet.js +1 -2
- package/build/commands/device/track-fleet.js.map +1 -1
- package/build/commands/devices/supported.d.ts +1 -1
- package/build/commands/devices/supported.js +1 -2
- package/build/commands/devices/supported.js.map +1 -1
- package/build/commands/env/add.d.ts +1 -1
- package/build/commands/env/add.js +3 -3
- package/build/commands/env/add.js.map +1 -1
- package/build/commands/env/rename.d.ts +1 -1
- package/build/commands/env/rename.js +3 -3
- package/build/commands/env/rename.js.map +1 -1
- package/build/commands/env/rm.d.ts +1 -1
- package/build/commands/env/rm.js +3 -3
- package/build/commands/env/rm.js.map +1 -1
- package/build/commands/envs/index.d.ts +1 -1
- package/build/commands/envs/index.js +3 -3
- package/build/commands/envs/index.js.map +1 -1
- package/build/commands/fleet/create.d.ts +1 -1
- package/build/commands/fleet/create.js +1 -2
- package/build/commands/fleet/create.js.map +1 -1
- package/build/commands/fleet/index.d.ts +1 -1
- package/build/commands/fleet/index.js +1 -2
- package/build/commands/fleet/index.js.map +1 -1
- package/build/commands/fleet/pin.d.ts +1 -1
- package/build/commands/fleet/pin.js +1 -2
- package/build/commands/fleet/pin.js.map +1 -1
- package/build/commands/fleet/purge.d.ts +1 -1
- package/build/commands/fleet/purge.js +2 -2
- package/build/commands/fleet/purge.js.map +1 -1
- package/build/commands/fleet/rename.d.ts +1 -1
- package/build/commands/fleet/rename.js +1 -2
- package/build/commands/fleet/rename.js.map +1 -1
- package/build/commands/fleet/restart.d.ts +1 -1
- package/build/commands/fleet/restart.js +2 -2
- package/build/commands/fleet/restart.js.map +1 -1
- package/build/commands/fleet/rm.d.ts +1 -1
- package/build/commands/fleet/rm.js +2 -2
- package/build/commands/fleet/rm.js.map +1 -1
- package/build/commands/fleet/track-latest.d.ts +1 -1
- package/build/commands/fleet/track-latest.js +1 -2
- package/build/commands/fleet/track-latest.js.map +1 -1
- package/build/commands/fleets/index.d.ts +1 -1
- package/build/commands/fleets/index.js +2 -2
- package/build/commands/fleets/index.js.map +1 -1
- package/build/commands/internal/osinit.d.ts +1 -1
- package/build/commands/internal/osinit.js +1 -2
- package/build/commands/internal/osinit.js.map +1 -1
- package/build/commands/join/index.d.ts +1 -1
- package/build/commands/join/index.js +3 -3
- package/build/commands/join/index.js.map +1 -1
- package/build/commands/key/add.d.ts +1 -2
- package/build/commands/key/add.js +1 -6
- package/build/commands/key/add.js.map +1 -1
- package/build/commands/key/index.d.ts +1 -1
- package/build/commands/key/index.js +1 -2
- package/build/commands/key/index.js.map +1 -1
- package/build/commands/key/rm.d.ts +1 -1
- package/build/commands/key/rm.js +1 -2
- package/build/commands/key/rm.js.map +1 -1
- package/build/commands/keys/index.d.ts +1 -1
- package/build/commands/keys/index.js +2 -2
- package/build/commands/keys/index.js.map +1 -1
- package/build/commands/leave/index.d.ts +1 -1
- package/build/commands/leave/index.js +3 -3
- package/build/commands/leave/index.js.map +1 -1
- package/build/commands/local/configure.d.ts +1 -1
- package/build/commands/local/configure.js +1 -2
- package/build/commands/local/configure.js.map +1 -1
- package/build/commands/local/flash.d.ts +1 -1
- package/build/commands/local/flash.js +1 -2
- package/build/commands/local/flash.js.map +1 -1
- package/build/commands/login/index.d.ts +1 -1
- package/build/commands/login/index.js +1 -2
- package/build/commands/login/index.js.map +1 -1
- package/build/commands/logout/index.d.ts +1 -1
- package/build/commands/logout/index.js +2 -2
- package/build/commands/logout/index.js.map +1 -1
- package/build/commands/logs/index.d.ts +1 -1
- package/build/commands/logs/index.js +3 -3
- package/build/commands/logs/index.js.map +1 -1
- package/build/commands/notes/index.d.ts +1 -2
- package/build/commands/notes/index.js +4 -6
- package/build/commands/notes/index.js.map +1 -1
- package/build/commands/orgs/index.d.ts +1 -1
- package/build/commands/orgs/index.js +2 -2
- package/build/commands/orgs/index.js.map +1 -1
- package/build/commands/os/build-config.d.ts +1 -1
- package/build/commands/os/build-config.js +1 -2
- package/build/commands/os/build-config.js.map +1 -1
- package/build/commands/os/configure.d.ts +1 -1
- package/build/commands/os/configure.js +3 -3
- package/build/commands/os/configure.js.map +1 -1
- package/build/commands/os/download.d.ts +1 -1
- package/build/commands/os/download.js +3 -3
- package/build/commands/os/download.js.map +1 -1
- package/build/commands/os/initialize.d.ts +1 -1
- package/build/commands/os/initialize.js +1 -2
- package/build/commands/os/initialize.js.map +1 -1
- package/build/commands/os/versions.d.ts +1 -1
- package/build/commands/os/versions.js +1 -2
- package/build/commands/os/versions.js.map +1 -1
- package/build/commands/preload/index.d.ts +1 -1
- package/build/commands/preload/index.js +1 -2
- package/build/commands/preload/index.js.map +1 -1
- package/build/commands/push/index.d.ts +1 -1
- package/build/commands/push/index.js +5 -4
- package/build/commands/push/index.js.map +1 -1
- package/build/commands/release/finalize.d.ts +1 -1
- package/build/commands/release/finalize.js +2 -2
- package/build/commands/release/finalize.js.map +1 -1
- package/build/commands/release/index.d.ts +1 -2
- package/build/commands/release/index.js +1 -2
- package/build/commands/release/index.js.map +1 -1
- package/build/commands/release/invalidate.d.ts +1 -1
- package/build/commands/release/invalidate.js +2 -2
- package/build/commands/release/invalidate.js.map +1 -1
- package/build/commands/release/validate.d.ts +1 -1
- package/build/commands/release/validate.js +2 -2
- package/build/commands/release/validate.js.map +1 -1
- package/build/commands/releases/index.d.ts +1 -1
- package/build/commands/releases/index.js +1 -2
- package/build/commands/releases/index.js.map +1 -1
- package/build/commands/scan/index.d.ts +1 -1
- package/build/commands/scan/index.js +1 -2
- package/build/commands/scan/index.js.map +1 -1
- package/build/commands/settings/index.d.ts +1 -1
- package/build/commands/settings/index.js +2 -2
- package/build/commands/settings/index.js.map +1 -1
- package/build/commands/ssh/index.d.ts +1 -1
- package/build/commands/ssh/index.js +4 -5
- package/build/commands/ssh/index.js.map +1 -1
- package/build/commands/support/index.d.ts +1 -1
- package/build/commands/support/index.js +1 -2
- package/build/commands/support/index.js.map +1 -1
- package/build/commands/tag/rm.d.ts +1 -1
- package/build/commands/tag/rm.js +1 -2
- package/build/commands/tag/rm.js.map +1 -1
- package/build/commands/tag/set.d.ts +1 -1
- package/build/commands/tag/set.js +1 -2
- package/build/commands/tag/set.js.map +1 -1
- package/build/commands/tags/index.d.ts +1 -1
- package/build/commands/tags/index.js +2 -2
- package/build/commands/tags/index.js.map +1 -1
- package/build/commands/tunnel/index.d.ts +1 -1
- package/build/commands/tunnel/index.js +3 -3
- package/build/commands/tunnel/index.js.map +1 -1
- package/build/commands/util/available-drives.d.ts +1 -1
- package/build/commands/util/available-drives.js +2 -2
- package/build/commands/util/available-drives.js.map +1 -1
- package/build/commands/version/index.d.ts +1 -1
- package/build/commands/version/index.js +1 -2
- package/build/commands/version/index.js.map +1 -1
- package/build/commands/whoami/index.d.ts +1 -1
- package/build/commands/whoami/index.js +2 -2
- package/build/commands/whoami/index.js.map +1 -1
- package/build/hooks/{prerun/track.d.ts → prerun.d.ts} +1 -1
- package/build/hooks/prerun.js +42 -0
- package/build/hooks/prerun.js.map +1 -0
- package/build/utils/patterns.d.ts +2 -0
- package/build/utils/patterns.js +16 -0
- package/build/utils/patterns.js.map +1 -1
- package/npm-shrinkwrap.json +2 -14
- package/oclif.manifest.json +9 -332
- package/package.json +3 -4
- package/src/app.ts +1 -1
- package/src/commands/api-key/generate.ts +1 -2
- package/src/commands/api-key/revoke.ts +1 -2
- package/src/commands/api-keys/index.ts +1 -2
- package/src/commands/app/create.ts +1 -3
- package/src/commands/block/create.ts +1 -3
- package/src/commands/build/index.ts +6 -4
- package/src/commands/config/generate.ts +1 -2
- package/src/commands/config/inject.ts +1 -2
- package/src/commands/config/read.ts +1 -1
- package/src/commands/config/reconfigure.ts +1 -2
- package/src/commands/config/write.ts +1 -2
- package/src/commands/deploy/index.ts +4 -4
- package/src/commands/device/deactivate.ts +1 -2
- package/src/commands/device/identify.ts +1 -2
- package/src/commands/device/index.ts +1 -2
- package/src/commands/device/init.ts +3 -3
- package/src/commands/device/list.ts +1 -1
- package/src/commands/device/local-mode.ts +1 -2
- package/src/commands/device/move.ts +1 -2
- package/src/commands/device/os-update.ts +1 -2
- package/src/commands/device/pin.ts +1 -2
- package/src/commands/device/public-url.ts +1 -2
- package/src/commands/device/purge.ts +1 -2
- package/src/commands/device/reboot.ts +1 -2
- package/src/commands/device/register.ts +1 -2
- package/src/commands/device/rename.ts +1 -2
- package/src/commands/device/restart.ts +1 -2
- package/src/commands/device/rm.ts +1 -2
- package/src/commands/device/shutdown.ts +1 -2
- package/src/commands/device/start-service.ts +1 -2
- package/src/commands/device/stop-service.ts +1 -2
- package/src/commands/device/track-fleet.ts +1 -2
- package/src/commands/devices/supported.ts +1 -3
- package/src/commands/env/add.ts +4 -3
- package/src/commands/env/rename.ts +4 -4
- package/src/commands/env/rm.ts +4 -4
- package/src/commands/envs/index.ts +4 -3
- package/src/commands/fleet/create.ts +1 -3
- package/src/commands/fleet/index.ts +1 -3
- package/src/commands/fleet/pin.ts +1 -2
- package/src/commands/fleet/purge.ts +1 -1
- package/src/commands/fleet/rename.ts +1 -3
- package/src/commands/fleet/restart.ts +1 -1
- package/src/commands/fleet/rm.ts +1 -1
- package/src/commands/fleet/track-latest.ts +1 -2
- package/src/commands/fleets/index.ts +1 -2
- package/src/commands/internal/osinit.ts +1 -2
- package/src/commands/join/index.ts +3 -3
- package/src/commands/key/add.ts +1 -6
- package/src/commands/key/index.ts +1 -2
- package/src/commands/key/rm.ts +1 -2
- package/src/commands/keys/index.ts +1 -1
- package/src/commands/leave/index.ts +3 -3
- package/src/commands/local/configure.ts +1 -2
- package/src/commands/local/flash.ts +1 -2
- package/src/commands/login/index.ts +1 -2
- package/src/commands/logout/index.ts +1 -1
- package/src/commands/logs/index.ts +3 -3
- package/src/commands/notes/index.ts +3 -8
- package/src/commands/orgs/index.ts +1 -1
- package/src/commands/os/build-config.ts +1 -2
- package/src/commands/os/configure.ts +4 -3
- package/src/commands/os/download.ts +3 -3
- package/src/commands/os/initialize.ts +1 -2
- package/src/commands/os/versions.ts +1 -2
- package/src/commands/preload/index.ts +1 -3
- package/src/commands/push/index.ts +7 -4
- package/src/commands/release/finalize.ts +1 -1
- package/src/commands/release/index.ts +1 -2
- package/src/commands/release/invalidate.ts +1 -1
- package/src/commands/release/validate.ts +1 -1
- package/src/commands/releases/index.ts +1 -2
- package/src/commands/scan/index.ts +1 -2
- package/src/commands/settings/index.ts +1 -1
- package/src/commands/ssh/index.ts +8 -5
- package/src/commands/support/index.ts +1 -2
- package/src/commands/tag/rm.ts +1 -2
- package/src/commands/tag/set.ts +1 -2
- package/src/commands/tags/index.ts +1 -1
- package/src/commands/tunnel/index.ts +4 -3
- package/src/commands/util/available-drives.ts +1 -1
- package/src/commands/version/index.ts +1 -2
- package/src/commands/whoami/index.ts +1 -1
- package/src/hooks/prerun.ts +119 -0
- package/src/utils/patterns.ts +41 -1
- package/build/command.d.ts +0 -16
- package/build/command.js +0 -57
- package/build/command.js.map +0 -1
- package/build/hooks/prerun/track.js +0 -14
- package/build/hooks/prerun/track.js.map +0 -1
- package/src/command.ts +0 -170
- package/src/hooks/prerun/track.ts +0 -44
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "balena-cli",
|
|
3
|
-
"version": "19.1.
|
|
3
|
+
"version": "19.1.2",
|
|
4
4
|
"description": "The official balena Command Line Interface",
|
|
5
5
|
"main": "./build/app.js",
|
|
6
6
|
"homepage": "https://github.com/balena-io/balena-cli",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"helpClass": "./build/help",
|
|
100
100
|
"topicSeparator": " ",
|
|
101
101
|
"hooks": {
|
|
102
|
-
"prerun": "./build/hooks/prerun
|
|
102
|
+
"prerun": "./build/hooks/prerun",
|
|
103
103
|
"command_not_found": "./build/hooks/command-not-found/suggest"
|
|
104
104
|
},
|
|
105
105
|
"additionalHelpFlags": [
|
|
@@ -221,7 +221,6 @@
|
|
|
221
221
|
"fast-boot2": "^1.1.0",
|
|
222
222
|
"fast-levenshtein": "^3.0.0",
|
|
223
223
|
"filenamify": "^4.3.0",
|
|
224
|
-
"get-stdin": "^8.0.0",
|
|
225
224
|
"glob": "^7.2.0",
|
|
226
225
|
"global-agent": "^2.2.0",
|
|
227
226
|
"global-tunnel-ng": "^2.1.1",
|
|
@@ -274,6 +273,6 @@
|
|
|
274
273
|
}
|
|
275
274
|
},
|
|
276
275
|
"versionist": {
|
|
277
|
-
"publishedAt": "2024-10-
|
|
276
|
+
"publishedAt": "2024-10-14T19:58:11.134Z"
|
|
278
277
|
}
|
|
279
278
|
}
|
package/src/app.ts
CHANGED
|
@@ -153,7 +153,7 @@ async function oclifRun(command: string[], options: AppOptions) {
|
|
|
153
153
|
}
|
|
154
154
|
})(!options.noFlush);
|
|
155
155
|
|
|
156
|
-
const { trackPromise } = await import('./hooks/prerun
|
|
156
|
+
const { trackPromise } = await import('./hooks/prerun');
|
|
157
157
|
|
|
158
158
|
await Promise.all([trackPromise, deprecationPromise, runPromise]);
|
|
159
159
|
}
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import { ExpectedError } from '../../errors';
|
|
21
20
|
import * as cf from '../../utils/common-flags';
|
|
22
21
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
22
21
|
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Flags, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, getVisuals, stripIndent } from '../../utils/lazy';
|
|
22
21
|
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags, Args } from '@oclif/core';
|
|
19
|
-
|
|
20
|
-
import Command from '../../command';
|
|
18
|
+
import { Flags, Args, Command } from '@oclif/core';
|
|
21
19
|
import * as cf from '../../utils/common-flags';
|
|
22
20
|
import { stripIndent } from '../../utils/lazy';
|
|
23
21
|
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags, Args } from '@oclif/core';
|
|
19
|
-
|
|
20
|
-
import Command from '../../command';
|
|
18
|
+
import { Flags, Args, Command } from '@oclif/core';
|
|
21
19
|
import * as cf from '../../utils/common-flags';
|
|
22
20
|
import { stripIndent } from '../../utils/lazy';
|
|
23
21
|
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args, Flags } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Flags, Command } from '@oclif/core';
|
|
20
19
|
import { getBalenaSdk } from '../../utils/lazy';
|
|
21
20
|
import * as cf from '../../utils/common-flags';
|
|
22
21
|
import * as compose from '../../utils/compose';
|
|
@@ -106,13 +105,16 @@ ${dockerignoreHelp}
|
|
|
106
105
|
public async run() {
|
|
107
106
|
const { args: params, flags: options } = await this.parse(BuildCmd);
|
|
108
107
|
|
|
109
|
-
await
|
|
108
|
+
const Logger = await import('../../utils/logger');
|
|
109
|
+
const { checkLoggedInIf } = await import('../../utils/patterns');
|
|
110
|
+
|
|
111
|
+
await checkLoggedInIf(!!options.fleet);
|
|
110
112
|
|
|
111
113
|
(await import('events')).defaultMaxListeners = 1000;
|
|
112
114
|
|
|
113
115
|
const sdk = getBalenaSdk();
|
|
114
116
|
|
|
115
|
-
const logger =
|
|
117
|
+
const logger = Logger.getLogger();
|
|
116
118
|
logger.logDebug('Parsing input...');
|
|
117
119
|
|
|
118
120
|
// `build` accepts `source` as a parameter, but compose expects it as an option
|
|
@@ -15,9 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags } from '@oclif/core';
|
|
18
|
+
import { Flags, Command } from '@oclif/core';
|
|
19
19
|
import type { Interfaces } from '@oclif/core';
|
|
20
|
-
import Command from '../../command';
|
|
21
20
|
import * as cf from '../../utils/common-flags';
|
|
22
21
|
import { getBalenaSdk, getCliForm, stripIndent } from '../../utils/lazy';
|
|
23
22
|
import {
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getVisuals, stripIndent } from '../../utils/lazy';
|
|
22
21
|
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Flags, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getVisuals, stripIndent } from '../../utils/lazy';
|
|
22
21
|
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getVisuals, stripIndent } from '../../utils/lazy';
|
|
22
21
|
|
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args, Flags } from '@oclif/core';
|
|
18
|
+
import { Args, Flags, Command } from '@oclif/core';
|
|
19
19
|
import type { ImageDescriptor } from '@balena/compose/dist/parse';
|
|
20
|
-
|
|
21
|
-
import Command from '../../command';
|
|
22
20
|
import { ExpectedError } from '../../errors';
|
|
23
21
|
import { getBalenaSdk, getChalk, stripIndent } from '../../utils/lazy';
|
|
24
22
|
import {
|
|
@@ -155,7 +153,9 @@ ${dockerignoreHelp}
|
|
|
155
153
|
|
|
156
154
|
(await import('events')).defaultMaxListeners = 1000;
|
|
157
155
|
|
|
158
|
-
const
|
|
156
|
+
const Logger = await import('../../utils/logger');
|
|
157
|
+
|
|
158
|
+
const logger = Logger.getLogger();
|
|
159
159
|
logger.logDebug('Parsing input...');
|
|
160
160
|
|
|
161
161
|
const { fleet, image } = params;
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
22
21
|
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
22
21
|
import { ExpectedError } from '../../errors';
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags, Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Flags, Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { expandForAppName } from '../../utils/helpers';
|
|
22
21
|
import { getBalenaSdk, getVisuals, stripIndent } from '../../utils/lazy';
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Flags, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
22
21
|
import { applicationIdInfo } from '../../utils/messages';
|
|
@@ -117,8 +116,9 @@ export default class DeviceInitCmd extends Command {
|
|
|
117
116
|
tmp.setGracefulCleanup();
|
|
118
117
|
const { downloadOSImage } = await import('../../utils/cloud');
|
|
119
118
|
const { getApplication } = await import('../../utils/sdk');
|
|
119
|
+
const Logger = await import('../../utils/logger');
|
|
120
120
|
|
|
121
|
-
const logger =
|
|
121
|
+
const logger = Logger.getLogger();
|
|
122
122
|
const balena = getBalenaSdk();
|
|
123
123
|
|
|
124
124
|
// Get application and
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import Command from '
|
|
18
|
+
import { Command } from '@oclif/core';
|
|
19
19
|
import * as cf from '../../utils/common-flags';
|
|
20
20
|
import { expandForAppName } from '../../utils/helpers';
|
|
21
21
|
import { getBalenaSdk, getVisuals, stripIndent } from '../../utils/lazy';
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags, Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Flags, Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
22
21
|
|
|
@@ -15,14 +15,13 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
19
19
|
import type {
|
|
20
20
|
BalenaSDK,
|
|
21
21
|
Device,
|
|
22
22
|
PineOptions,
|
|
23
23
|
PineTypedResult,
|
|
24
24
|
} from 'balena-sdk';
|
|
25
|
-
import Command from '../../command';
|
|
26
25
|
import * as cf from '../../utils/common-flags';
|
|
27
26
|
import { ExpectedError } from '../../errors';
|
|
28
27
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags, Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Flags, Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, stripIndent, getCliForm } from '../../utils/lazy';
|
|
22
21
|
import type { Device } from 'balena-sdk';
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
22
21
|
import { getExpandedProp } from '../../utils/pine';
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags, Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Flags, Args, Command } from '@oclif/core';
|
|
20
19
|
import { ExpectedError } from '../../errors';
|
|
21
20
|
import * as cf from '../../utils/common-flags';
|
|
22
21
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, getCliUx, stripIndent } from '../../utils/lazy';
|
|
22
21
|
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
22
21
|
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Flags, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import * as ca from '../../utils/common-args';
|
|
22
21
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, stripIndent, getCliForm } from '../../utils/lazy';
|
|
22
21
|
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags, Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Flags, Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, getCliUx, stripIndent } from '../../utils/lazy';
|
|
22
21
|
import type {
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
22
21
|
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
22
21
|
import { ExpectedError } from '../../errors';
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, getCliUx, stripIndent } from '../../utils/lazy';
|
|
22
21
|
import type { BalenaSDK } from 'balena-sdk';
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, getCliUx, stripIndent } from '../../utils/lazy';
|
|
22
21
|
import type { BalenaSDK } from 'balena-sdk';
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
22
21
|
|
|
@@ -14,11 +14,9 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { Flags } from '@oclif/core';
|
|
17
|
+
import { Flags, Command } from '@oclif/core';
|
|
18
18
|
import type * as BalenaSdk from 'balena-sdk';
|
|
19
19
|
import * as _ from 'lodash';
|
|
20
|
-
import Command from '../../command';
|
|
21
|
-
|
|
22
20
|
import * as cf from '../../utils/common-flags';
|
|
23
21
|
import { getBalenaSdk, getVisuals, stripIndent } from '../../utils/lazy';
|
|
24
22
|
|
package/src/commands/env/add.ts
CHANGED
|
@@ -15,9 +15,8 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
19
19
|
import type * as BalenaSdk from 'balena-sdk';
|
|
20
|
-
import Command from '../../command';
|
|
21
20
|
import { ExpectedError } from '../../errors';
|
|
22
21
|
import * as cf from '../../utils/common-flags';
|
|
23
22
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
@@ -111,7 +110,9 @@ export default class EnvAddCmd extends Command {
|
|
|
111
110
|
);
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
await
|
|
113
|
+
const { checkLoggedIn } = await import('../../utils/patterns');
|
|
114
|
+
|
|
115
|
+
await checkLoggedIn();
|
|
115
116
|
|
|
116
117
|
if (params.value == null) {
|
|
117
118
|
params.value = process.env[params.name];
|
|
@@ -14,9 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { Args } from '@oclif/core';
|
|
18
|
-
import Command from '../../command';
|
|
19
|
-
|
|
17
|
+
import { Args, Command } from '@oclif/core';
|
|
20
18
|
import * as cf from '../../utils/common-flags';
|
|
21
19
|
import * as ec from '../../utils/env-common';
|
|
22
20
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
@@ -63,7 +61,9 @@ export default class EnvRenameCmd extends Command {
|
|
|
63
61
|
public async run() {
|
|
64
62
|
const { args: params, flags: opt } = await this.parse(EnvRenameCmd);
|
|
65
63
|
|
|
66
|
-
await
|
|
64
|
+
const { checkLoggedIn } = await import('../../utils/patterns');
|
|
65
|
+
|
|
66
|
+
await checkLoggedIn();
|
|
67
67
|
|
|
68
68
|
await getBalenaSdk().pine.patch({
|
|
69
69
|
resource: ec.getVarResourceName(opt.config, opt.device, opt.service),
|
package/src/commands/env/rm.ts
CHANGED
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags, Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
20
|
-
|
|
18
|
+
import { Flags, Args, Command } from '@oclif/core';
|
|
21
19
|
import * as ec from '../../utils/env-common';
|
|
22
20
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
23
21
|
import { parseAsInteger } from '../../utils/validation';
|
|
@@ -67,7 +65,9 @@ export default class EnvRmCmd extends Command {
|
|
|
67
65
|
public async run() {
|
|
68
66
|
const { args: params, flags: opt } = await this.parse(EnvRmCmd);
|
|
69
67
|
|
|
70
|
-
await
|
|
68
|
+
const { checkLoggedIn } = await import('../../utils/patterns');
|
|
69
|
+
|
|
70
|
+
await checkLoggedIn();
|
|
71
71
|
|
|
72
72
|
const { confirm } = await import('../../utils/patterns');
|
|
73
73
|
await confirm(
|
|
@@ -14,11 +14,10 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { Flags } from '@oclif/core';
|
|
17
|
+
import { Flags, Command } from '@oclif/core';
|
|
18
18
|
import type { Interfaces } from '@oclif/core';
|
|
19
19
|
import type * as SDK from 'balena-sdk';
|
|
20
20
|
import * as _ from 'lodash';
|
|
21
|
-
import Command from '../../command';
|
|
22
21
|
import { ExpectedError } from '../../errors';
|
|
23
22
|
import * as cf from '../../utils/common-flags';
|
|
24
23
|
import { getBalenaSdk, getVisuals, stripIndent } from '../../utils/lazy';
|
|
@@ -113,7 +112,9 @@ export default class EnvsCmd extends Command {
|
|
|
113
112
|
|
|
114
113
|
const variables: EnvironmentVariableInfo[] = [];
|
|
115
114
|
|
|
116
|
-
await
|
|
115
|
+
const { checkLoggedIn } = await import('../../utils/patterns');
|
|
116
|
+
|
|
117
|
+
await checkLoggedIn();
|
|
117
118
|
|
|
118
119
|
if (!options.fleet && !options.device) {
|
|
119
120
|
throw new ExpectedError('Missing --fleet or --device option');
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags, Args } from '@oclif/core';
|
|
19
|
-
|
|
20
|
-
import Command from '../../command';
|
|
18
|
+
import { Flags, Args, Command } from '@oclif/core';
|
|
21
19
|
import * as cf from '../../utils/common-flags';
|
|
22
20
|
import { stripIndent } from '../../utils/lazy';
|
|
23
21
|
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Flags } from '@oclif/core';
|
|
19
|
-
|
|
20
|
-
import Command from '../../command';
|
|
18
|
+
import { Flags, Command } from '@oclif/core';
|
|
21
19
|
import * as cf from '../../utils/common-flags';
|
|
22
20
|
import * as ca from '../../utils/common-args';
|
|
23
21
|
import { getBalenaSdk, getVisuals, stripIndent } from '../../utils/lazy';
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
20
19
|
import * as cf from '../../utils/common-flags';
|
|
21
20
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
22
21
|
import { getExpandedProp } from '../../utils/pine';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import Command from '
|
|
18
|
+
import { Command } from '@oclif/core';
|
|
19
19
|
import * as cf from '../../utils/common-flags';
|
|
20
20
|
import * as ca from '../../utils/common-args';
|
|
21
21
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Args } from '@oclif/core';
|
|
19
|
-
|
|
20
|
-
import Command from '../../command';
|
|
18
|
+
import { Args, Command } from '@oclif/core';
|
|
21
19
|
import * as cf from '../../utils/common-flags';
|
|
22
20
|
import * as ca from '../../utils/common-args';
|
|
23
21
|
import { getBalenaSdk, stripIndent, getCliForm } from '../../utils/lazy';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import Command from '
|
|
18
|
+
import { Command } from '@oclif/core';
|
|
19
19
|
import * as cf from '../../utils/common-flags';
|
|
20
20
|
import * as ca from '../../utils/common-args';
|
|
21
21
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
package/src/commands/fleet/rm.ts
CHANGED
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import Command from '../../command';
|
|
19
18
|
import * as cf from '../../utils/common-flags';
|
|
20
19
|
import * as ca from '../../utils/common-args';
|
|
21
20
|
import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
|
22
21
|
import { applicationIdInfo } from '../../utils/messages';
|
|
22
|
+
import { Command } from '@oclif/core';
|
|
23
23
|
|
|
24
24
|
export default class FleetRmCmd extends Command {
|
|
25
25
|
public static description = stripIndent`
|