Skip to content

DavyJ0nes/plates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plates

Go Report Card

Description

A selection of template files that can easily be copied into projects, including Dockerfiles, Makefiles, READMEs etc

The motivation behind this was to help speed up my workflow and encourage reuse.

All templates are compiled into the binary. This is done using fileb0x

If you have any suggestions for improving the templates or want to have some added then please open an Issue or Pull Request

Usage

Building the tool

### There is a make file that uses docker to compile the tool and move it to your $HOME/bin directory
$ make install

Running the tool

# List out templates
$ plates list
1.      Dockerfile-python
2.      post-mortem.md
3.      Dockerfile-go
4.      bash_script.sh
5.      docker-compose.yml
...

# Copy Template to Current Directory
$ plates copy Dockerfile-go Dockerfile

# get version information
$ plates version
Version:        0.2.0
Git Hash:       515f3d
Build Time:     2018-03-18_11:42:58AM

TODO

  • Packer.json template
  • Jenkinsfile template
  • go main function template
  • go test file template
  • bash script template
  • python script template
  • python script test template
  • Python boto script template
  • Python boto script test template
  • Kubernetes service, deployment, etc templates
  • Cloudformation templates
  • docker-compose template
  • Prometheus config file template
  • post mortem doc template
  • Node Makefile and Dockerfile
  • Terraform templates
  • Spinnaker templates
  • Sceptre templates
  • Troposphere templates
  • Golang aws-sdk template

License

Apache 2.0