0.0.8 • Published 17 days ago

clide-plugin-command-menu v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
17 days ago

Clide-JS Command Menu Plugin

A Clide-JS plugin that prompts the user to select a subcommand when required.

import { run } from 'clide-js';
import { commandMenu } from 'clide-plugin-command-menu';

run({
  plugins: [
    commandMenu({
      title: 'Foo CLI',
      titleColors: ['#D89DFF', '#519BFF'],
    })
  ],
});

Title menu

After the user selects a subcommand, the command will be resolved and if it also requires a subcommand, the user will be prompted again, but this time can also select ↩ back to go back to the previous menu. This will continue until the user has selected all required subcommands.

Submenu

Installation

npm install clide-plugin-command-menu
# or
yarn add clide-plugin-command-menu
0.0.8

17 days ago

0.0.7

3 months ago

0.0.7-alpha.1

4 months ago

0.0.7-alpha.0

4 months ago

0.0.5

5 months ago

0.0.6

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago

0.0.0

5 months ago