Skip to content

evolvedhat/giter8

This branch is 3 commits ahead of, 250 commits behind foundweekends/giter8:develop.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

42e586c · Jul 24, 2022
Jul 18, 2022
Nov 20, 2020
Jun 10, 2021
Jun 7, 2021
Aug 19, 2021
Nov 30, 2021
Jul 3, 2019
Nov 20, 2020
Jul 12, 2022
Sep 20, 2020
Jun 10, 2022
Sep 22, 2014
Nov 30, 2021
Jun 2, 2022
Aug 6, 2016
Jul 11, 2022
Feb 8, 2022

Repository files navigation

Giter8

Giter8 is a command line tool to generate files and directories from templates published on GitHub or any other Git repository. It’s implemented in Scala and runs through the sbt launcher, but it can produce output for any purpose.

Setup

Coursier

Giter8 and other Scala command line tools can be installed using Coursier. See the coursier installation instruction to add it to your path. Once cs is on your path, you can install giter8 with this command:

$ cs install giter8

and update it using:

$ cs update g8

Manual

It’s possible to manually download and install giter8 directly from Maven Central:

$ curl https://repo1.maven.org/maven2/org/foundweekends/giter8/giter8-bootstrap_2.12/0.13.1/giter8-bootstrap_2.12-0.13.1.sh > ~/bin/g8
$ chmod +x ~/bin/g8

Replace ~/bin/ with anything that is on your PATH. To make sure everything is working, try running g8 with no parameters, you should see

Error: Missing argument <template>
Try --help for more information. 

For more details see Giter8 documentation.

Credits

  • Original implementation (C) 2010-2015 Nathan Hamblen and contributors
  • Adapted and extended in 2016 by foundweekends project

Giter8 is licensed under Apache 2.0 license

About

a command line tool to apply templates defined on GitHub

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 100.0%