mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
19 lines
596 B
JavaScript
19 lines
596 B
JavaScript
import chalk from 'chalk'
|
|
|
|
export function getHelp() {
|
|
console.log(` this command will generator a package to ${chalk.cyan('packages')}.
|
|
command: ${chalk.green('pnpm pkg <package-name> [--options]')}
|
|
|
|
${chalk.green('package-name')}: 包名
|
|
|
|
options:
|
|
${chalk.green('--client, -c')}: 是否生成 ${chalk.cyan('client/')} 目录
|
|
${chalk.green('--shared, -s')}: 是否生成 ${chalk.cyan('shared/')} 目录
|
|
|
|
${chalk.green('--help, -h')}: show help message.
|
|
|
|
exp: ${chalk.green('pnpm pkg caniuse -c -s')}
|
|
It will generator to ${chalk.cyan('packages/plugin-caniuse')}
|
|
`)
|
|
}
|