Skip to content

A cli to create and share code templates and structure

License

Notifications You must be signed in to change notification settings

neelr/templater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

templater

A cli to create and share code templates and structure! This makes life super easy, so you don't have to create the React folder structure, and can create production ready structure in seconds! Also the best part about this, is since it has integration with GitHub, you can upload and download other people's structures, so the possibilities are endless!

Installation

  1. go get -u github.com/neelr/templater/cmd/plate Get the package from github

  2. go install github.com/neelr/templater/cmd/plate Install the package!

Docs

plate create name

Creates a template using the files in the current directory, and calls it "name"!

plate load name

Loads the specified temnplate into the current directory

plate delete name

Deletes the template "name"

plate list

Lists all installed templates

plate login

Logs you in so you can upload your templates so others can download them!

plate upload name

After you've logged in, you can upload a plate so people can see it! It'll give you a slug in the format githubUsername/templateName which others can use to download your template!

plate deletefromserver name

Delete the template you uploaded in the past!

plate get githubUsername/templateName

Install the template someone uploaded! You can load it anytime you want!

TODO:

  • Create a Nextjs UI so people can view people's templates
  • Create a landing page along with a logo
  • Add Badges

Open to contributers! Just open up an issue/PR!