0.2.7 • Published 3 years ago
vuetom-cli v0.2.7
Vuetom CLI
Blog & Documents generation tool
Version: 0.2.x
English | 中文
Links
Install
npm
npm install vuetom-cli -g
# options: show version
vuetom-cli -v
# options: show help information
vuetom-cli --helpyarn
yarn global add vuetom-cliUsage
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 versiondevelopment
# 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 -uShowTime
% vuetom-cli
% vuetom-cli init
% vuetom-cli list
% vuetom-cli git
$ vuetom-cli ver
$ vuetom-cli -u