Blog & Documents generation tool
Version: 0.2.x
English | 中文
npm
npm install vuetom-cli -g
# options: show version
vuetom-cli -v
# options: show help information
vuetom-cli --help
yarn
yarn global add vuetom-cli
Options
-v, --vers
: View the current version number
-h, --help
: View the current help
Commands
init
: Initialize a project with a vuetom theme
list
: Show the latest information about the vuetom cli branch
git
: Show the link of user's GIT warehouse list
ver
: Show theme or templates local version number
help
: Same as -h option
-l
: Change language
eg.
# Show Version
vuetom-cli -v
# Show HelpInformation
vuetom-cli -h
# Create docs templates
vuetom-cli init
# See the latest submission
vuetom-cli list
vuetom-cli list temp-docs
# Show someone's repo
vuetom-cli git lauset
vuetom-cli git lauset gitee
# Show local template version
vuetom-cli ver
vuetom-cli ver -t docs
# Change language to zh
vuetom-cli -l zh
vuetom-cli -l en # english
vuetom-cli -l # show language
# Auto check update
vuetom-cli -u # manual operation command
vuetom-cli -u 0.2.7 # update to new version
# install
pnpm install
# Compiling TS files
pnpm build
# Test Cli (dev)
pnpm ts
pnpm ts:init
pnpm ts:list
# Test Cli (prod)
pnpm cli
pnpm cli:init
pnpm cli:list
# check dependencies updates
ncu
# update all dependencies
ncu -u
% vuetom-cli
% vuetom-cli init
% vuetom-cli list
% vuetom-cli git
$ vuetom-cli ver
$ vuetom-cli -u