【文件属性】:
文件名称:taketalk:曾经想要一个用于节点模块的 bin 吗?
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-30 00:01:09
JavaScript
谈话
曾经想要一个用于节点模块的 bin 吗?
安装
$ npm install --save taketalk
用法
#!/usr/bin/env node
require ( 'taketalk' ) ( {
init : function ( input , options ) {
console . log ( 'This is the input from the CLI:' , input ) ;
console . log ( 'These are the options passed:' , options ) ;
} ,
help : 'Help yaself!' || function ( ) {
console . log ( 'Print this when a user wants help.' ) ;
} ,
ver
【文件预览】:
taketalk-master
----.gitignore(13B)
----.gitattributes(12B)
----.jshintrc(190B)
----package.json(462B)
----readme.md(578B)
----index.js(993B)
----test.js(380B)
----.travis.yml(38B)
----.editorconfig(171B)
----license(1KB)