Skip to content

twelvelabs/stamp

Repository files navigation

Stamp

build codecov

Stamp is a CLI tool for scaffolding new projects.

Project templates are packaged as generators, and are easy to create and share (they're just a directory with a generator.yaml file). Documentation for how to create your own generators can be found in docs.

Installation

Choose one of the following:

  • Download and manually install the latest release

  • Install with Homebrew 🍺

    brew install twelvelabs/tap/stamp
  • Install from source

    go install github.com/twelvelabs/stamp@latest

Usage

# Show all installed generators
stamp list

# Add a generator from a local directory
stamp add ~/my/generator/dir

# Add a generator from a remote origin
# Origin can be anything supported by https://github.com/hashicorp/go-getter
stamp add github.com/twelvelabs/generator-app

# Run the `app` generator
stamp new app

Development

git clone git@github.com:twelvelabs/stamp.git
cd stamp

# Ensures all required dependencies are installed
# and bootstraps the project for local development.
make setup

make test
make build
make install

# Show help.
make