Skip to content

Commit

Permalink
add --strip-nils to documentation in Readme, changelog, example-confi…
Browse files Browse the repository at this point in the history
…g. bump patch level version
  • Loading branch information
OutlawAndy committed Jul 27, 2015
1 parent 8dd6f7f commit 8bb9456
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ Api errors are rescued and their messages displayed for you to read. No more `b
[-v | --version=VERSION] # Stripe API version-date. Looks like `YYYY-MM-DD`
[--dollar-amounts] # configuration flag setting expected currency units to dollars
[--no-dollar-amounts] # configuration flag setting expected currency units to cents
[--strip-nils] # use this flag to strip nil-valued attributes from the output

## Command Documentation

Expand Down
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Stripe-CLI Project Change Log

## 1.8.1

- new configuration option to strip nil-valued attributes from command-line output
- use on command-line with global flag `--strip-nils`
- or set in config-file with `strip_nils=true`
- override config-file setting with global command-line flag `--no-strip-nils`

## 1.8.0

- top-level `invoice_items` command
Expand Down
3 changes: 2 additions & 1 deletion example-configuration.stripecli
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ dollar_amounts = false
[new-api]
key = sk_test_abc123def456ghi789jklmno
version = "2014-09-08"
dollar_amounts = true
dollar_amounts = true
strip_nils = true
2 changes: 1 addition & 1 deletion lib/stripe/cli/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Stripe
module CLI
VERSION = "1.8.0"
VERSION = "1.8.1"
end
end

0 comments on commit 8bb9456

Please sign in to comment.