atom-cli-test
v0.0.5
Published
test cli with nodejs
Downloads
6
Maintainers
Readme
atom-cli-test
A Cli for Atom Test
Thanks for How to Create Your Own CLI with Node.js article.
two steps
Creating a cli npm package.
Packaging, setting up template projects.
some command line:
npm linknpm ls -gnpm unlink <name> -gnpx rollup -c rollup.config.jsnpx atom-cli-testsome rollup parameters:
"scripts": {
"build": "rollup -c rollup.config.js",
"dev": "rollup -c rollup.config.js -w"
},-cor--config- path to a rollup config file (if omitted, rollup looks forrollup.config.jsin the current directory)-wor--watch- watch files in bundle and rebuild on changes
Libraries
arg: parse command line parameters.
inquirer: create an interactive command line interface.
execa: is used to run commands.
chalk: is a terminal string styling tool.
listr: is a terminal task list.
ncp: is a tool for asynchronous and recursive copying.
pkg-install: provides a platform-independent package installer.
