Skip to content

runDeployToDeviceCli

Runs deploy-to-device.

Import:

import { runDeployToDeviceCli } from '@mnaoumov/obsidian-dev-toolkit/device-deployment-cli';

Signature:

function runDeployToDeviceCli($arguments: string[]): Promise<number>

Parameters:

Parameter Type Description
$arguments string[]

Returns: Promise<number> — A Promise that resolves to the exit code: 0 once the build is deployed, 1 on any failure, which is printed to stderr.