1.0.0 • Published 3 years ago

better-codegen v1.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

simple-codegen

A Very simple cli code generator for p5js, static page and simple python file.

Installation

To install globally,

npm install -g simple-codegen


How to use the tool

The global installation will give you access to the cg command in the terminal.

The following table shows the commands available and how to use them:

Command NameUsageExample
htmlGenerate a simple static website.cg html my-website
p5jsGenerate a website with p5js.cg p5js my-project
pySimple Python filecg py myfile

Help

cg help

You can also now type cg help <command> for detailed help on a particular command. Ex: cg help p5js

License

MIT