garden

command module
v0.0.0-...-f01fd73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2019 License: MIT Imports: 4 Imported by: 0

README

Garden

A tool to manage your template (plan) based directories.

You can perform a setup (plant) by running garden grow, which'll create your garden (directories) based on your plans (temlates).

You can filter every command with -zone= and -plant, so to grow only a part of your garden you can: garden -zone=tomatoes grow or to grow a single plant: garden -plant=fav-tomatoe grow

You can then run scripts on your whole garden: garden reap bash my_script.sh or on a part of it: garden -zone=tomatoes reap bash my_script.sh or on a single configuration: garden -plant=fav-tomatoe reap bash my_script.sh.

Reap can access the Vars of the Plant as Environment Variables, in the following form: _GARDENVAR_[the-Var-id] (e.g. _GARDENVAR_MyVar1), as well as a couple of built-in Environment Variables:

  • _GARDEN_PLANT_PATH : the Absolute Directory Path of the Plant
  • _GARDEN_PLANT_ID : ID of the Plant

You can test & view your garden with garden view.

Documentation

Overview

This file contains dependency imports

which are only required for `go test`.

Godeps recently introduced a breaking change, which now

completely ignors every file ending with `_test.go`,
and so the dependencies which are required only for `go test`.

So, we'll declare those here.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/Sirupsen/logrus
Package logrus is a structured logger for Go, completely API compatible with the standard library logger.
Package logrus is a structured logger for Go, completely API compatible with the standard library logger.
_workspace/src/github.com/codegangsta/cli
Package cli provides a minimal framework for creating and organizing command line Go applications.
Package cli provides a minimal framework for creating and organizing command line Go applications.
_workspace/src/github.com/davecgh/go-spew/spew
Package spew implements a deep pretty printer for Go data structures to aid in debugging.
Package spew implements a deep pretty printer for Go data structures to aid in debugging.
_workspace/src/github.com/pmezard/go-difflib/difflib
Package difflib is a partial port of Python difflib module.
Package difflib is a partial port of Python difflib module.
_workspace/src/github.com/stretchr/testify/assert
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.
_workspace/src/github.com/stretchr/testify/require
Alternative testing tools which stop test execution if test failed.
Alternative testing tools which stop test execution if test failed.
_workspace/src/golang.org/x/sys/unix
Package unix contains an interface to the low-level operating system primitives.
Package unix contains an interface to the low-level operating system primitives.
_workspace/src/gopkg.in/yaml.v2
Package yaml implements YAML support for the Go language.
Package yaml implements YAML support for the Go language.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL