Skip to content

runCheckPluginCli

Runs check-plugin.

Import:

import { runCheckPluginCli } from '@mnaoumov/obsidian-dev-toolkit/plugin-check-cli';

Signature:

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

Parameters:

Parameter Type Description
$arguments string[]

Returns: Promise<number> — A Promise that resolves to the exit code: 0 when every check passed, 1 when any reported an error or could not run, which is printed to stderr.