0.1.1 • Published 4 months ago
clide-plugin-command-menu v0.1.1
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'],
})
],
});
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.
Installation
npm install clide-plugin-command-menu
# or
yarn add clide-plugin-command-menu
0.1.2-next.0
4 months ago
0.1.1
9 months ago
0.1.0
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.7-alpha.1
2 years ago
0.0.7-alpha.0
2 years ago
0.0.5
2 years ago
0.0.6
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago
0.0.0
2 years ago