Skip to content

Commit

Permalink
Update to v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stilvoid committed Apr 16, 2021
1 parent 1a59bda commit 9925e3b
Show file tree
Hide file tree
Showing 18 changed files with 6,124 additions and 159 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ Or you can download the appropriate binary for your system from [the releases pa

Or if you're a [Gopher](https://blog.golang.org/gopher), you can `GO111MODULE=on go get github.com/aws-cloudformation/rain/cmd/rain`

Rain requires the [AWS CLI](https://aws.amazon.com/cli/) to package CloudFormation templates when you use `rain deploy`.
(See the [`aws cloudformation package`](https://docs.aws.amazon.com/cli/latest/reference/cloudformation/package.html) command for details.)

```
Usage:
rain [command]
Expand All @@ -46,6 +43,7 @@ Template commands:
diff Compare CloudFormation templates
fmt Format CloudFormation templates
merge Merge two or more CloudFormation templates
pkg Package local artifacts into a template
tree Find dependencies of Resources and Outputs in a local template
Other Commands:
Expand Down
6,205 changes: 6,064 additions & 141 deletions cft/spec/cfn.go

Large diffs are not rendered by default.

43 changes: 43 additions & 0 deletions docs/bash_completion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,44 @@ _rain_merge()
noun_aliases=()
}

_rain_pkg()
{
last_command="rain_pkg"

command_aliases=()

commands=()

flags=()
two_word_flags=()
local_nonpersistent_flags=()
flags_with_completion=()
flags_completion=()

flags+=("--help")
flags+=("-h")
local_nonpersistent_flags+=("--help")
local_nonpersistent_flags+=("-h")
flags+=("--profile=")
two_word_flags+=("--profile")
two_word_flags+=("-p")
local_nonpersistent_flags+=("--profile")
local_nonpersistent_flags+=("--profile=")
local_nonpersistent_flags+=("-p")
flags+=("--region=")
two_word_flags+=("--region")
two_word_flags+=("-r")
local_nonpersistent_flags+=("--region")
local_nonpersistent_flags+=("--region=")
local_nonpersistent_flags+=("-r")
flags+=("--debug")
flags+=("--no-colour")

must_have_one_flag=()
must_have_one_noun=()
noun_aliases=()
}

_rain_rm()
{
last_command="rain_rm"
Expand Down Expand Up @@ -946,6 +984,11 @@ _rain_root_command()
aliashash["list"]="ls"
fi
commands+=("merge")
commands+=("pkg")
if [[ -z "${BASH_VERSION}" || "${BASH_VERSINFO[0]}" -gt 3 ]]; then
command_aliases+=("package")
aliashash["package"]="pkg"
fi
commands+=("rm")
if [[ -z "${BASH_VERSION}" || "${BASH_VERSINFO[0]}" -gt 3 ]]; then
command_aliases+=("del")
Expand Down
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ Rain is a command line tool for working with AWS CloudFormation templates and st
* [rain logs](rain_logs.md) - Show the event log for the named stack
* [rain ls](rain_ls.md) - List running CloudFormation stacks
* [rain merge](rain_merge.md) - Merge two or more CloudFormation templates
* [rain pkg](rain_pkg.md) - Package local artifacts into a template
* [rain rm](rain_rm.md) - Delete a running CloudFormation stack
* [rain tree](rain_tree.md) - Find dependencies of Resources and Outputs in a local template
* [rain watch](rain_watch.md) - Display an updating view of a CloudFormation stack

###### Auto generated by spf13/cobra on 1-Mar-2021
###### Auto generated by spf13/cobra on 16-Apr-2021
2 changes: 1 addition & 1 deletion docs/rain_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ rain build [<resource type>...]

* [rain](index.md) -

###### Auto generated by spf13/cobra on 1-Mar-2021
###### Auto generated by spf13/cobra on 16-Apr-2021
2 changes: 1 addition & 1 deletion docs/rain_cat.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ rain cat <stack>

* [rain](index.md) -

###### Auto generated by spf13/cobra on 1-Mar-2021
###### Auto generated by spf13/cobra on 16-Apr-2021
2 changes: 1 addition & 1 deletion docs/rain_console.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ rain console [stack]

* [rain](index.md) -

###### Auto generated by spf13/cobra on 1-Mar-2021
###### Auto generated by spf13/cobra on 16-Apr-2021
2 changes: 1 addition & 1 deletion docs/rain_deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ rain deploy <template> [stack]

* [rain](index.md) -

###### Auto generated by spf13/cobra on 1-Mar-2021
###### Auto generated by spf13/cobra on 16-Apr-2021
2 changes: 1 addition & 1 deletion docs/rain_diff.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ rain diff <from> <to>

* [rain](index.md) -

###### Auto generated by spf13/cobra on 1-Mar-2021
###### Auto generated by spf13/cobra on 16-Apr-2021
2 changes: 1 addition & 1 deletion docs/rain_fmt.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ rain fmt <filename>...

* [rain](index.md) -

###### Auto generated by spf13/cobra on 1-Mar-2021
###### Auto generated by spf13/cobra on 16-Apr-2021
2 changes: 1 addition & 1 deletion docs/rain_info.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ rain info

* [rain](index.md) -

###### Auto generated by spf13/cobra on 1-Mar-2021
###### Auto generated by spf13/cobra on 16-Apr-2021
2 changes: 1 addition & 1 deletion docs/rain_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ rain logs <stack> (<resource>)

* [rain](index.md) -

###### Auto generated by spf13/cobra on 1-Mar-2021
###### Auto generated by spf13/cobra on 16-Apr-2021
2 changes: 1 addition & 1 deletion docs/rain_ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ rain ls <stack>

* [rain](index.md) -

###### Auto generated by spf13/cobra on 1-Mar-2021
###### Auto generated by spf13/cobra on 16-Apr-2021
2 changes: 1 addition & 1 deletion docs/rain_merge.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ rain merge <template> <template> ...

* [rain](index.md) -

###### Auto generated by spf13/cobra on 1-Mar-2021
###### Auto generated by spf13/cobra on 16-Apr-2021
2 changes: 1 addition & 1 deletion docs/rain_rm.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ rain rm <stack>

* [rain](index.md) -

###### Auto generated by spf13/cobra on 1-Mar-2021
###### Auto generated by spf13/cobra on 16-Apr-2021
2 changes: 1 addition & 1 deletion docs/rain_tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ rain tree [template]

* [rain](index.md) -

###### Auto generated by spf13/cobra on 1-Mar-2021
###### Auto generated by spf13/cobra on 16-Apr-2021
2 changes: 1 addition & 1 deletion docs/rain_watch.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ rain watch <stack>

* [rain](index.md) -

###### Auto generated by spf13/cobra on 1-Mar-2021
###### Auto generated by spf13/cobra on 16-Apr-2021
2 changes: 1 addition & 1 deletion internal/config/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ const (
NAME = "Rain"

// VERSION is the application's version string
VERSION = "v1.1.2"
VERSION = "v1.2.0"
)

0 comments on commit 9925e3b

Please sign in to comment.