ahmadawais / create-node-cli Goto Github PK
View Code? Open in Web Editor NEW๐ CLI to create new Node.js CLI applications in minutes not hours.
Home Page: https://NodeCLI.com
๐ CLI to create new Node.js CLI applications in minutes not hours.
Home Page: https://NodeCLI.com
ora 6.0.0 has moved to ESM and it is not working with create-node-cli, it would be great if create-node-cli also uses ESM.
when i am introducing new command
like print ..
input.includes('print') && console.log("print something ")
it is not working
-- help is deducting and printing the command options
but if am doing --print it is not working
input.includes('help') && cli.showHelp(0)-- if i commented this line also help message is printing
not sure how this is working
when i do console.log(inputs) i am getting empty [] array
new command is not working
options are working
History is currently saved to $HOME/.history
.
However, there is a specification which should be payed attention to.
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
I would say to save it to $XDG_CACHE_HOME/create-node-cli
and only fallback if $XDG_CACHE_HOME
is not set.
The fallback should be rather $HOME/.cache
than $HOME/.history
.
Where does history
come from? Is that some specification I don't know about?
I have run a DeepSource Static Code Analysis on this Repository, the details of which are available here, and found the inappropriate use of shebang in the template/_index.js
file.
This file needs no shebang according to the Static Code Analysis Tool.
A lot of devs rn are using Typescript and this boilerplate doesn't suit typesafe enthusiasts, unfortunately.
rm -rf ~/.history
npx create-node-cli
mkdir -p ~/.history
npx create-node-cli
I tried to read the code base and notice that you are using require
s, I'd like to migrate to ES6 with import
.
I think it's fine to add the MIT file so that it can be easy for anyone to see the license.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.