Skip to content

A simple command line project generator to make the files I make every time I make a project

License

Notifications You must be signed in to change notification settings

Purple-Fox-Coder/pluton-project-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pluton Project Generator


A simple command line project generator to make the files I make every time I make a project.

Installing

You will need g++ and make installed to install through a build. After installing those you will need to download the latest release and run the install script. You may then safely delete the downloaded folder and its contents.

Linux:
For linux, you will be running installLinux.sh
Of note, the install path may need to differ depending on the distro, so the install script was built with ArchLinux in mind (And distros built on it).

Windows:
Windows does not yet have an install script, but you should be able to build it manually if you want.

Running / use

To use it simply use the following command in the directory you wish to generate in:
ppg

alternatively you can pass in the path to the project:
ppg <directory>

If you want to add more default files or modify how a specific file is generated you can modify or add files into the templates directory

template variables (replaced with actual values):
$$PROJECT_NAME$$ - the name of the project
$$PROJECT_ALIAS$$ - the alias for the project (the name used for filenames)

to use these in filenames simply include in your filename the variable (excluding the $$)
I.E.:
PROJECT_NAME.cpp
somethingPROJECT_NAMEsomethingelse.h

Building

To build the project you will need g++ and make. Once you have those you can simply use:
make

About

A simple command line project generator to make the files I make every time I make a project

Resources

License

Stars

Watchers

Forks

Packages

No packages published