A CLI to manage Trellis projects
Clone or download
Latest commit d59f2a8 Jan 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd Fix provision command completion Jan 17, 2019
trellis Improve Trellis project detection Jan 17, 2019
.gitignore Initial commit Jan 17, 2019
.goreleaser.yml Update brew project name Jan 17, 2019
.travis.yml Initial commit Jan 17, 2019
LICENSE Initial commit Jan 17, 2019
README.md Add brew install Jan 17, 2019
go.mod Initial commit Jan 17, 2019
go.sum Initial commit Jan 17, 2019
main.go Initial commit Jan 17, 2019

README.md

trellis-cli

A command-line interface (CLI) for Trellis with autocompletion.

Manage your Trellis projects via the trellis command.

Warning: this project is very early in development so bug reports are welcome

OSX Quick Install (via Homebrew)

brew install roots/tap/trellis-cli

Installation

  1. Download the latest release for your OS
  2. Unzip/untar
  3. Put the unarchived binary in your $PATH
  4. Run trellis --autocomplete-install to install shell autocompletions

Note: only OSX builds are tested so far.

Homebrew support is coming soon!

Usage

Run trellis for the complete usage and help.

Support commands so far:

  • deploy - Deploys a site to the specified environment.
  • galaxy - Commands for Ansible Galaxy
  • info - Displays information about this Trellis project
  • new - Creates a new Trellis project
  • provision - Provisions the specified environment
  • rollback - Rollsback the last deploy of the site on the specified environment.

Development

trellis-cli requires Go 1.10+ since it uses Go modules.

  1. Make sure Go 1.10+ is installed (brew install go on OSX)
  2. Clone the repo
  3. Run go build

Contributing

Contributions are welcome from everyone. We have contributing guidelines to help you get started.

Trellis sponsors

Help support our open-source development efforts by becoming a patron.

Kinsta Harness Software KM Digital itineris Hébergement Web Québec

Community

Keep track of development and community news.