mirror of
https://github.com/ION606/ion-cli.git
synced 2026-06-06 00:07:00 +00:00
initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import chalk from "chalk"
|
||||
const commandList = ['anime <name="string", option="string">']
|
||||
|
||||
export default function help(subcommand = []) {
|
||||
if (subcommand.length != 0) {
|
||||
console.log(chalk.green(commandList[commandList.indexOf(subcommand)]))
|
||||
} else {
|
||||
for (const i of commandList) {
|
||||
console.log(chalk.cyanBright(i));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user