obsidian-dev-utils
Version:
This is the collection of useful functions that you can use for your Obsidian plugin development
16 lines (15 loc) • 730 B
text/typescript
/**
* @packageDocumentation
*
* This module defines a CLI for managing various tasks related to Obsidian plugin development.
* It leverages the `commander` library to define commands for building, linting, spellchecking,
* and updating the version of the plugin. The CLI is designed to be flexible and can handle both
* synchronous and asynchronous tasks.
*/
/**
* Main function to run the CLI. It sets up the commands using the `commander` library and
* handles the execution of tasks like building, cleaning, linting, spellchecking, and versioning.
*
* @param argv - The command-line arguments to parse. Defaults to `process.argv` minus the first two elements.
*/
export declare function cli(argv?: string[]): void;