Skip to content

estebanpadilla/cococli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cococli

A small cli tool to help me develop for the web.

Installation

Install globaly running the following command on your terminal.

sudo npm i -g cococli 

Usage

Here a simple table that show how to use it.


---------------------------------------------------------------------------------------
                          Using this CLI is very simple!                               
---------------------------------------------------------------------------------------
     Commands           |   Parameters     |  Description                                   
---------------------------------------------------------------------------------------
   -js         |  	   |   filename       |  Creates a javascript file                      
   -html       |  	   |   filename       |  Creates a html file                           
   -css        |	      |   filename       |  Creates a css file                            
   -proj       |  -p    |   name           |  Creates a basic web project                   
   -game       |  -g    |   name           |  Creates a basic game project                  
   -class      |  	   |   name           |  Creates a ES6 class                           
   -htmljs     |        |                  |  Add html helper file		               
   -email      |  	   |   yourEmail      |  Adds your email to config file                
   -author     |        |   name lastName  |  Adds your name and last name to config file.   
   -config     |        |     			    |  Small wizard to setup your information you.   
   -addConfig  |        |     			    |  Creates a configuration file.   
   -help       |  -h    |                  |  Shows this information                        
   -version    |  -v    |                  |  Shows the version		                       
---------------------------------------------------------------------------------------
Example:
coco -js main

  • Before running -config run -addConfig.
  • If you add author and email, they will be automatically added to the files comments when created.
  • When running -config you may need to use sudo due to permissions on your OS also if you install this tool globally, you may need to use sudo when adding author and email.

Update

If you want to update to the latest version use the follow command. Be aware that updating to latest version will remove the configuration file.

sudo npm update -g cococli

Greetings

For support or comments send an email to ep@estebanpadilla.com Thank you for using this tool!

About

A small cli tool to help me develop.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published