1.0.0 • Published 10 months ago

@estruyf/vscode-cli v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

VS Code CLI

A VS Code CLI to help you with exporting the contribution points to Markdown. The CLI helps you with documenting all commands and settings of your extension.

npm.io

Installation

Installation from npm

npm i -g @estruyf/vscode-cli

Usage

vsc <commands> <task> [options] 

Commands

  • commands: List all available commands as Markdown output.
  • settings: List all available settings as Markdown output.

Tasks

  • add: Add a new command or setting.
  • export: Export all commands or settings.
  • sort: Sort all commands or settings.

Options

Export option(s)

  • --heading, -h: Specify a heading level for the output. DEFAULT: 2

Command add option(s)

  • --name, -n: Specify the name of the command. REQUIRED
  • --title, -t: Specify the title of the command.
  • --category, -c: Specify the title of the command.

Setting add option(s)

  • --name, -n: Specify the name of the setting. REQUIRED
  • --type: Specify the type of the setting.
  • --description: Specify the description of the setting.

Examples

$ vsc commands

## Command category: title

- ID: `command id`
$ vsc settings --heading 2

## Setting

Markdown description || description

- Type: `type`
- Default: `default`
$ vsc commands add --name <id of the command> --title <title of the command> --category <category of the command>
$ vsc settings add --name <id of the setting>

License

MIT License

Visitors

1.0.0-beta.5627870

10 months ago

1.0.0

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

3 years ago

0.0.3

3 years ago

0.0.4

3 years ago

0.0.1

3 years ago