Giter VIP home page Giter VIP logo

create-node-cli's Issues

new command is not working.

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

Use XDG specification instead of falling back to `$HOME` directly

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?

Suggest correct usage of shebang

Description

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.

Typescript Support

A lot of devs rn are using Typescript and this boilerplate doesn't suit typesafe enthusiasts, unfortunately.

Migrate to ES6

I tried to read the code base and notice that you are using requires, I'd like to migrate to ES6 with import.

Add a License file

I think it's fine to add the MIT file so that it can be easy for anyone to see the license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.