Getting Start
按一下顺序创建你的命令行工具,
Init
mkdir foo && cd foo
npm init
妥善设置的你package name(例子中使用foo)
Install Deps
npm i @mohism/cliwrap
(wait ...)
npx init-wrapper
link your command
sudo npm link
foo -h
foo hello -h
然后再阅读
This package has been deprecated
Author message:
no-longer-used
按一下顺序创建你的命令行工具,
mkdir foo && cd foo
npm init
妥善设置的你package name(例子中使用foo)
npm i @mohism/cliwrap
(wait ...)
npx init-wrapper
sudo npm link
foo -h
foo hello -h
然后再阅读
npm i @mohism/cliwrap
2
1.0.15
ISC
849 kB
20