Coder Social home page Coder Social logo

petor's Introduction

Petor Logo

petor

petor is a project generator that generates a custom project built beforehand.

Installation

  • npm: npm install -g petor
  • yarn: yarn global add petor

Note: You may need to add npm or yarn global bin path in your PATH environment variable.

Usage

petor generates a project from the templates directory.

petor --generate backend

By default, project is generated with the name same as the template name. You can generate the project with custom name as,

petor --generate backend restapi

You can check the existing templates as,

petor --list

You can add your own templates to the path indicated by the,

petor --get-template-dir

Build

  • git clone https://github.com/bigyanse/petor.git
  • cd petor
  • yarn install or npm install
  • yarn build or npm run build
  • Then you can run the program with node . or node ./dist/src/cli.js

petor's People

Contributors

bigyanse avatar

Watchers

 avatar

petor's Issues

change log info

After generating the template with custom project name, display its name instead of the actual template name in the log.

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.