mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-19 05:37:51 +00:00
balena device deactivate
nit
Change-type: patch
This commit is contained in:
parent
0acf3eb53f
commit
01a81b3551
@ -47,13 +47,14 @@ export default class DeviceDeactivateCmd extends Command {
|
|||||||
public static authenticated = true;
|
public static authenticated = true;
|
||||||
|
|
||||||
public async run() {
|
public async run() {
|
||||||
const { args: params, flags: options } =
|
const {
|
||||||
await this.parse(DeviceDeactivateCmd);
|
args: { uuid },
|
||||||
|
flags: options,
|
||||||
|
} = await this.parse(DeviceDeactivateCmd);
|
||||||
|
|
||||||
const balena = getBalenaSdk();
|
const balena = getBalenaSdk();
|
||||||
const patterns = await import('../../utils/patterns');
|
const patterns = await import('../../utils/patterns');
|
||||||
|
|
||||||
const uuid = params.uuid;
|
|
||||||
const deactivationWarning = `
|
const deactivationWarning = `
|
||||||
Warning! Deactivating a device will charge a fee equivalent to the
|
Warning! Deactivating a device will charge a fee equivalent to the
|
||||||
normal monthly cost for the device (e.g. $1 for an essentials device);
|
normal monthly cost for the device (e.g. $1 for an essentials device);
|
||||||
|
Loading…
Reference in New Issue
Block a user