Skip to content

hawkticehurst/create

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create CLI

A tiny CLI for creating new software projects using both popular and custom boilerplates.

Command Usage | Technology Flags | Custom Templates | License 

Command Usage

create <project-name> <technology-flag>

Technology Flags

--react         Create a basic React project.
--react-ts      Create a React + TypeScript project.
--svelte        Create a basic Svelte project.
--svelte-ts     Create a Svelte + TypeScript project.
--fast-el       Create a FAST Element + TypeScript project.
--fast-fo       Create a FAST Foundation + TypeScript project.
--fast-ds       Create a FAST Design System + TypeScript project.
--web           Create a basic vanilla web project.
--web-ts        Create a basic vanilla TypeScript web project.
--node          Create a Node + Express project.
--python        Create a Python Poetry project.
--go            Create a basic Golang project.
--rust          Create a basic Rust project.
--electron      Create a basic Electron project.

Setting Up The CLI

In order to use the CLI a couple steps must be taken:

  1. Navigate to directory where the create.sh script lives
  2. Update the TEMPLATEPATH variable in create.sh to reflect your own local file system
  3. Open a terminal and navigate to this directory and run the command chmod u+x create.sh
  4. Open your shell config file and make sure this project directory is exported to PATH
  5. Finally, add an alias to the shell config file: alias create='sh create.sh'

Custom Templates

Custom templates can be defined in the templates directory and downloaded locally.

License

MIT

About

A tiny CLI for creating new software projects.

Resources

License

Stars

Watchers

Forks