stripe-cli 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b56072540c2f5ad6b7ace475d4debf8821926aa1
4
- data.tar.gz: 1317da5bbdda008035c87667094354d56e93225b
3
+ metadata.gz: 36fee7ef4d1a6f6173c8fb3c6da780b21d45e0f4
4
+ data.tar.gz: 3d5426b463809009fc79e91e85c53d7fd238df27
5
5
  SHA512:
6
- metadata.gz: aad9c62850f307a55e1cbf38460b377170ec3bf67de1833d800cef3a16d0cc68f71f5202c2fdf7f309229de6fa4b625fee104fe41ce4193a5a3492b5ce95e039
7
- data.tar.gz: 2ef995bb4be67843f31af8ef4d7e3cd07c7d5f8f6af90f8edcbbe4de803e9dc6474455e0f519cdca99ca88ec1718a75ba6789b015b32543fe0871f90bfae3781
6
+ metadata.gz: dd60ff68b1a6ee310f3bdd47357aebc40b9e29c287d3ebb2089d17d58a378094f748c8599558ee1d824b0839291e2b17c465c3017daa4a1c6e52fcbb78bd83fb
7
+ data.tar.gz: 33d671b2eba22025ae8896914669cb94e619f66662e1ab5bec7fec2701e32ced17c165c15faa57a365f0ed7bc72d5e9c3981d3cca22bf63d0a4f83b6ecac6b70
data/README.md CHANGED
@@ -147,21 +147,22 @@ Api errors are rescued and their messages displayed for you to read. No more `b
147
147
 
148
148
 
149
149
  Commands:
150
- stripe balance # show currently available & pending balance amounts
151
- stripe cards # find, list, create, & delete cards for both customers & recipients
152
- stripe charges # find, list, create, capture, & refund charges
153
- stripe coupons # find, list, create, & delete coupons
154
- stripe customers # find, list, create, & delete customers
155
- stripe events # find & list events
156
- stripe help [COMMAND] # Describe available commands or one specific command
157
- stripe invoices # find, list, pay, & close invoices
158
- stripe plans # find, list, create, & delete plans
159
- stripe recipients # find, list, create, & delete recipients
160
- stripe refunds # find, list, & create refunds
161
- stripe subscriptions # find, list, create, cancel, & reactivate multiple subscriptions per customer
162
- stripe tokens # find & create tokens for bank accounts & credit cards
163
- stripe transactions # find & list balance transactions
164
- stripe transfers # find, list, & create transfers
150
+ stripe balance # show currently available & pending balance amounts
151
+ stripe cards # find, list, create, & delete cards for both customers & recipients
152
+ stripe charges # find, list, create, capture, & refund charges
153
+ stripe coupons # find, list, create, & delete coupons
154
+ stripe customers # find, list, create, & delete customers
155
+ stripe events # find & list events
156
+ stripe help [COMMAND] # Describe available commands or one specific command
157
+ stripe invoice_items # find, list, create, & delete invoice items
158
+ stripe invoices # find, list, pay, & close invoices
159
+ stripe plans # find, list, create, & delete plans
160
+ stripe recipients # find, list, create, & delete recipients
161
+ stripe refunds # find, list, & create refunds
162
+ stripe subscriptions # find, list, create, cancel & reactivate multiple subscriptions per customer
163
+ stripe tokens # find & create tokens for bank accounts & credit cards
164
+ stripe transactions # find & list balance transactions
165
+ stripe transfers # find, list, & create transfers
165
166
 
166
167
 
167
168
  Global Options:
@@ -204,6 +205,11 @@ Api errors are rescued and their messages displayed for you to read. No more `b
204
205
  - [List](#invoices-list)
205
206
  - [Pay](#invoice-pay)
206
207
  - [Upcoming](#invoice-upcoming)
208
+ - [Invoice Items](#invoice-items)
209
+ - [Find](#invoice-items-find)
210
+ - [List](#invoice-items-list)
211
+ - [Create](#invoice-items-create)
212
+ - [Delete](#invoice-items-delete)
207
213
  - [Plans](#plans)
208
214
  - [Create](#plan-create)
209
215
  - [Delete](#plan-delete)
@@ -296,7 +302,7 @@ Api errors are rescued and their messages displayed for you to read. No more `b
296
302
  [--ending-before=ENDING_BEFORE] # The ID of the first object in the previous paged result set, when paging backwards through the list.
297
303
  [--limit=LIMIT] # a limit on the number of resources returned, between 1 and 100
298
304
  [--offset=OFFSET] # the starting index to be used, relative to the entire list
299
- [--count=COUNT] # depricated: use limit
305
+ [--count=COUNT] # deprecated: use limit
300
306
  [--customer=CUSTOMER] # ID of customer who's charges we want to list
301
307
 
302
308
  List charges (optionally by customer_id)
@@ -401,7 +407,7 @@ Api errors are rescued and their messages displayed for you to read. No more `b
401
407
  [--ending-before=ENDING_BEFORE] # The ID of the first object in the previous paged result set, when paging backwards through the list.
402
408
  [--limit=LIMIT] # a limit on the number of resources returned, between 1 and 100
403
409
  [--offset=OFFSET] # the starting index to be used, relative to the entire list
404
- [--count=COUNT] # depricated: use limit
410
+ [--count=COUNT] # deprecated: use limit
405
411
  --owner=OWNER # id of customer or recipient to search within
406
412
 
407
413
  List cards for OWNER (customer or recipient)
@@ -462,7 +468,7 @@ Api errors are rescued and their messages displayed for you to read. No more `b
462
468
  [--ending-before=ENDING_BEFORE] # The ID of the first object in the previous paged result set, when paging backwards through the list.
463
469
  [--limit=LIMIT] # a limit on the number of resources returned, between 1 and 100
464
470
  [--offset=OFFSET] # the starting index to be used, relative to the entire list
465
- [--count=COUNT] # depricated: use limit
471
+ [--count=COUNT] # deprecated: use limit
466
472
 
467
473
  List customers
468
474
 
@@ -528,7 +534,7 @@ Api errors are rescued and their messages displayed for you to read. No more `b
528
534
  [--ending-before=ENDING_BEFORE] # The ID of the first object in the previous paged result set, when paging backwards through the list.
529
535
  [--limit=LIMIT] # a limit on the number of resources returned, between 1 and 100
530
536
  [--offset=OFFSET] # the starting index to be used, relative to the entire list
531
- [--count=COUNT] # depricated: use limit
537
+ [--count=COUNT] # deprecated: use limit
532
538
  -c, --customer=CUSTOMER # ID of customer who's subscriptions we want to list
533
539
 
534
540
  List subscriptions for CUSTOMER customer
@@ -577,7 +583,7 @@ Api errors are rescued and their messages displayed for you to read. No more `b
577
583
  [--ending-before=ENDING_BEFORE] # The ID of the first object in the previous paged result set, when paging backwards through the list.
578
584
  [--limit=LIMIT] # a limit on the number of resources returned, between 1 and 100
579
585
  [--offset=OFFSET] # the starting index to be used, relative to the entire list
580
- [--count=COUNT] # depricated: use limit
586
+ [--count=COUNT] # deprecated: use limit
581
587
  [--customer=CUSTOMER] # a customer ID to filter results by
582
588
 
583
589
  List invoices (optionally by customer_id)
@@ -596,6 +602,63 @@ Api errors are rescued and their messages displayed for you to read. No more `b
596
602
 
597
603
  find the upcoming invoice for CUSTOMER
598
604
 
605
+ ### Invoice Items
606
+
607
+ Commands:
608
+ stripe invoice_items create # Create a new invoice item for customer
609
+ stripe invoice_items delete ID # Delete a invoice item
610
+ stripe invoice_items find ID # Find an invoice item
611
+ stripe invoice_items help [COMMAND] # Describe subcommands or one specific subcommand
612
+ stripe invoice_items list # List invoice items (optionally by customer_id)
613
+
614
+
615
+ #### Invoice Item Create
616
+
617
+ Usage:
618
+ stripe create
619
+
620
+ Options:
621
+ [--customer=CUSTOMER] # The ID of customer for the invoice item
622
+ [--amount=N] # Amount in dollars (or cents when --no-dollar-amounts)
623
+ [--currency=CURRENCY] # 3-letter ISO code for currency
624
+ # Default: usd
625
+ [--description=DESCRIPTION] # Arbitrary description of charge
626
+ [--invoice=INVOICE] # The ID of an existing invoice to add this invoice item to
627
+ [--subscription=SUBSCRIPTION] # The ID of a subscription to add this invoice item to
628
+ [--discountable], [--no-discountable] # Controls whether discounts apply to this invoice item
629
+ [--metadata=key:value] # A key/value store of additional user-defined data
630
+
631
+ Create a new invoice item for customer
632
+
633
+ #### Invoice Item Delete
634
+
635
+ Usage:
636
+ stripe delete ID
637
+
638
+ Delete a invoice item
639
+
640
+ #### Invoice Item Find
641
+
642
+ Usage:
643
+ stripe find ID
644
+
645
+ Find an invoice item
646
+
647
+ #### Invoice Item List
648
+
649
+ Usage:
650
+ stripe list
651
+
652
+ Options:
653
+ [--starting-after=STARTING_AFTER] # The ID of the last object in the previous paged result set. For cursor-based pagination.
654
+ [--ending-before=ENDING_BEFORE] # The ID of the first object in the previous paged result set, when paging backwards through the list.
655
+ [--limit=LIMIT] # a limit on the number of resources returned, between 1 and 100
656
+ [--offset=OFFSET] # the starting index to be used, relative to the entire list
657
+ [--count=COUNT] # deprecated: use limit
658
+ [--customer=CUSTOMER] # ID of customer who's invoice items we want to list
659
+
660
+ List invoice items (optionally by customer_id)
661
+
599
662
  ### Plans
600
663
 
601
664
  Commands:
@@ -653,7 +716,7 @@ Api errors are rescued and their messages displayed for you to read. No more `b
653
716
  [--ending-before=ENDING_BEFORE] # The ID of the first object in the previous paged result set, when paging backwards through the list.
654
717
  [--limit=LIMIT] # a limit on the number of resources returned, between 1 and 100
655
718
  [--offset=OFFSET] # the starting index to be used, relative to the entire list
656
- [--count=COUNT] # depricated: use limit
719
+ [--count=COUNT] # deprecated: use limit
657
720
 
658
721
  List plans
659
722
 
@@ -710,7 +773,7 @@ Api errors are rescued and their messages displayed for you to read. No more `b
710
773
  [--ending-before=ENDING_BEFORE] # The ID of the first object in the previous paged result set, when paging backwards through the list.
711
774
  [--limit=LIMIT] # a limit on the number of resources returned, between 1 and 100
712
775
  [--offset=OFFSET] # the starting index to be used, relative to the entire list
713
- [--count=COUNT] # depricated: use limit
776
+ [--count=COUNT] # deprecated: use limit
714
777
 
715
778
  List coupons
716
779
 
@@ -738,7 +801,7 @@ Api errors are rescued and their messages displayed for you to read. No more `b
738
801
  [--ending-before=ENDING_BEFORE] # The ID of the first object in the previous paged result set, when paging backwards through the list.
739
802
  [--limit=LIMIT] # a limit on the number of resources returned, between 1 and 100
740
803
  [--offset=OFFSET] # the starting index to be used, relative to the entire list
741
- [--count=COUNT] # depricated: use limit
804
+ [--count=COUNT] # deprecated: use limit
742
805
  [--object-id=OBJECT_ID] # only list events pertaining to the object with this ID
743
806
  [--type=TYPE] # only list events of type TYPE
744
807
 
@@ -768,7 +831,7 @@ Api errors are rescued and their messages displayed for you to read. No more `b
768
831
  [--ending-before=ENDING_BEFORE] # The ID of the first object in the previous paged result set, when paging backwards through the list.
769
832
  [--limit=LIMIT] # a limit on the number of resources returned, between 1 and 100
770
833
  [--offset=OFFSET] # the starting index to be used, relative to the entire list
771
- [--count=COUNT] # depricated: use limit
834
+ [--count=COUNT] # deprecated: use limit
772
835
  [--type=TYPE] # Possible values: charge, refund, adjustment, application_fee,
773
836
  [--source=SOURCE] # ...application_fee_refund, transfer, transfer_failure, or all(by default)
774
837
 
@@ -834,7 +897,7 @@ Api errors are rescued and their messages displayed for you to read. No more `b
834
897
  [--ending-before=ENDING_BEFORE] # The ID of the first object in the previous paged result set, when paging backwards through the list.
835
898
  [--limit=LIMIT] # a limit on the number of resources returned, between 1 and 100
836
899
  [--offset=OFFSET] # the starting index to be used, relative to the entire list
837
- [--count=COUNT] # depricated: use limit
900
+ [--count=COUNT] # deprecated: use limit
838
901
  [--verified], [--no-verified] # Only return recipients that are verified or unverified
839
902
 
840
903
  List recipients
@@ -883,7 +946,7 @@ Though `refund` is still a supported operation of the `charges` command. The `r
883
946
  [--ending-before=ENDING_BEFORE] # The ID of the first object in the previous paged result set, when paging backwards through the list.
884
947
  [--limit=LIMIT] # a limit on the number of resources returned, between 1 and 100
885
948
  [--offset=OFFSET] # the starting index to be used, relative to the entire list
886
- [--count=COUNT] # depricated: use limit
949
+ [--count=COUNT] # deprecated: use limit
887
950
  -c, --charge=CHARGE # Id of charge to search within
888
951
 
889
952
  List refunds for CHARGE charge
@@ -930,7 +993,7 @@ Though `refund` is still a supported operation of the `charges` command. The `r
930
993
  [--ending-before=ENDING_BEFORE] # The ID of the first object in the previous paged result set, when paging backwards through the list.
931
994
  [--limit=LIMIT] # a limit on the number of resources returned, between 1 and 100
932
995
  [--offset=OFFSET] # the starting index to be used, relative to the entire list
933
- [--count=COUNT] # depricated: use limit
996
+ [--count=COUNT] # deprecated: use limit
934
997
  [--recipient=RECIPIENT] # limit result set to RECIPIENT's transfers
935
998
  [--status=STATUS] # filter by transfer status. Possible values: pending, paid, failed
936
999
 
@@ -1,6 +1,15 @@
1
1
  # Stripe-CLI Project Change Log
2
2
 
3
- ## 1.6.4 - 2014-08-09
3
+ ## 1.8.0
4
+
5
+ - top-level `invoice_items` command
6
+ - w/ actions: `find`, `list`, `create`, & `delete`
7
+
8
+ ## 1.7.0
9
+
10
+ - new `dates` config option for specifying how dates should be displayed (`utc`, `unix`, or `local`)
11
+
12
+ ## 1.6.4
4
13
 
5
14
  - better descriptions for ALL operations
6
15
  - Bug fix
@@ -9,6 +9,7 @@ module Stripe
9
9
  autoload :Coupons, 'stripe/cli/commands/coupons'
10
10
  autoload :Events, 'stripe/cli/commands/events'
11
11
  autoload :Invoices, 'stripe/cli/commands/invoices'
12
+ autoload :InvoiceItems, 'stripe/cli/commands/invoice_items'
12
13
  autoload :Transactions, 'stripe/cli/commands/transactions'
13
14
  autoload :Balance, 'stripe/cli/commands/balance'
14
15
  autoload :Recipients, 'stripe/cli/commands/recipients'
@@ -9,7 +9,7 @@ module Stripe
9
9
  option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
10
10
  option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
11
11
  option :offset, :desc => "the starting index to be used, relative to the entire list"
12
- option :count, :desc => "depricated: use limit"
12
+ option :count, :desc => "deprecated: use limit"
13
13
  option :owner, :required => true, :desc => "id of customer or recipient to search within"
14
14
  def list
15
15
  if owner = retrieve_owner(options.delete :owner)
@@ -9,7 +9,7 @@ module Stripe
9
9
  option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
10
10
  option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
11
11
  option :offset, :desc => "the starting index to be used, relative to the entire list"
12
- option :count, :desc => "depricated: use limit"
12
+ option :count, :desc => "deprecated: use limit"
13
13
  option :customer, :desc => "ID of customer who's charges we want to list"
14
14
  def list
15
15
  super Stripe::Charge, options
@@ -9,7 +9,7 @@ module Stripe
9
9
  option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
10
10
  option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
11
11
  option :offset, :desc => "the starting index to be used, relative to the entire list"
12
- option :count, :desc => "depricated: use limit"
12
+ option :count, :desc => "deprecated: use limit"
13
13
  def list
14
14
  super Stripe::Coupon, options
15
15
  end
@@ -10,7 +10,7 @@ module Stripe
10
10
  option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
11
11
  option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
12
12
  option :offset, :desc => "the starting index to be used, relative to the entire list"
13
- option :count, :desc => "depricated: use limit"
13
+ option :count, :desc => "deprecated: use limit"
14
14
  def list
15
15
  super Stripe::Customer, options
16
16
  end
@@ -8,7 +8,7 @@ module Stripe
8
8
  option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
9
9
  option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
10
10
  option :offset, :desc => "the starting index to be used, relative to the entire list"
11
- option :count, :desc => "depricated: use limit"
11
+ option :count, :desc => "deprecated: use limit"
12
12
  option :object_id, :desc => "only list events pertaining to the object with this ID"
13
13
  option :type, :desc => "only list events of type TYPE"
14
14
  def list
@@ -0,0 +1,45 @@
1
+ module Stripe
2
+ module CLI
3
+ module Commands
4
+ class InvoiceItems < Command
5
+ include Stripe::Utils
6
+
7
+ desc "list", "List invoice items (optionally by customer_id)"
8
+ option :starting_after, :desc => "The ID of the last object in the previous paged result set. For cursor-based pagination."
9
+ option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
10
+ option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
11
+ option :offset, :desc => "the starting index to be used, relative to the entire list"
12
+ option :count, :desc => "deprecated: use limit"
13
+ option :customer, :desc => "ID of customer who's invoice items we want to list"
14
+ def list
15
+ super Stripe::InvoiceItem, options
16
+ end
17
+
18
+ desc "find ID", "Find an invoice item"
19
+ def find invoice_item_id
20
+ super Stripe::InvoiceItem, invoice_item_id
21
+ end
22
+
23
+ desc "create", "Create a new invoice item for customer"
24
+ option :customer, :desc => "The ID of customer for the invoice item"
25
+ option :amount, :type => :numeric, :desc => "Amount in dollars (or cents when --no-dollar-amounts)"
26
+ option :currency, :default => "usd", :desc => "3-letter ISO code for currency"
27
+ option :description, :desc => "Arbitrary description of charge"
28
+ option :invoice, :desc => "The ID of an existing invoice to add this invoice item to"
29
+ option :subscription, :desc => "The ID of a subscription to add this invoice item to"
30
+ option :discountable, :type => :boolean, :desc => "Controls whether discounts apply to this invoice item"
31
+ option :metadata, :type => :hash, :desc => "A key/value store of additional user-defined data"
32
+ def create
33
+ options[:customer] ||= ask('Customer ID:')
34
+ options[:amount] = convert_amount(options[:amount])
35
+ super Stripe::InvoiceItem, options
36
+ end
37
+
38
+ desc "delete ID", "Delete a invoice item"
39
+ def delete invoice_item_id
40
+ super Stripe::InvoiceItem, invoice_item_id
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
@@ -8,7 +8,7 @@ module Stripe
8
8
  option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
9
9
  option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
10
10
  option :offset, :desc => "the starting index to be used, relative to the entire list"
11
- option :count, :desc => "depricated: use limit"
11
+ option :count, :desc => "deprecated: use limit"
12
12
  option :customer, :desc => "ID of customer who's invoices we want to list"
13
13
  def list
14
14
  super Stripe::Invoice, options
@@ -9,7 +9,7 @@ module Stripe
9
9
  option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
10
10
  option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
11
11
  option :offset, :desc => "the starting index to be used, relative to the entire list"
12
- option :count, :desc => "depricated: use limit"
12
+ option :count, :desc => "deprecated: use limit"
13
13
  def list
14
14
  super Stripe::Plan, options
15
15
  end
@@ -9,7 +9,7 @@ module Stripe
9
9
  option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
10
10
  option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
11
11
  option :offset, :desc => "the starting index to be used, relative to the entire list"
12
- option :count, :desc => "depricated: use limit"
12
+ option :count, :desc => "deprecated: use limit"
13
13
  option :verified, :type => :boolean, :desc => "Only return recipients that are verified or unverified"
14
14
  def list
15
15
  super Stripe::Recipient, options
@@ -9,7 +9,7 @@ module Stripe
9
9
  option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
10
10
  option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
11
11
  option :offset, :desc => "the starting index to be used, relative to the entire list"
12
- option :count, :desc => "depricated: use limit"
12
+ option :count, :desc => "deprecated: use limit"
13
13
  option :charge, :aliases => :c, :required => true, :desc => "Id of charge who's refunds we want to list"
14
14
  def list
15
15
  if charge = retrieve_charge(options.delete :charge)
@@ -10,7 +10,7 @@ module Stripe
10
10
  option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
11
11
  option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
12
12
  option :offset, :desc => "the starting index to be used, relative to the entire list"
13
- option :count, :desc => "depricated: use limit"
13
+ option :count, :desc => "deprecated: use limit"
14
14
  option :customer, :aliases => :c, :required => true, :desc => "ID of customer who's subscriptions we want to list"
15
15
  def list
16
16
  if cust = retrieve_customer(options.delete :customer)
@@ -8,7 +8,7 @@ module Stripe
8
8
  option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
9
9
  option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
10
10
  option :offset, :desc => "the starting index to be used, relative to the entire list"
11
- option :count, :desc => "depricated: use limit"
11
+ option :count, :desc => "deprecated: use limit"
12
12
  option :type, :enum => %w( charge refund adjustment application_fee application_fee_refund transfer transfer_failure )
13
13
  option :source
14
14
  def list type = 'all'
@@ -9,7 +9,7 @@ module Stripe
9
9
  option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
10
10
  option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
11
11
  option :offset, :desc => "the starting index to be used, relative to the entire list"
12
- option :count, :desc => "depricated: use limit"
12
+ option :count, :desc => "deprecated: use limit"
13
13
  option :recipient, :desc => "limit result set to RECIPIENT's transfers"
14
14
  option :status, :desc => "filter by transfer status: ( pending paid failed )", :enum => %w( pending paid failed )
15
15
  def list
@@ -11,6 +11,7 @@ module Stripe
11
11
  register Commands::Coupons, 'coupons', 'coupons', 'find, list, create, & delete coupons'
12
12
  register Commands::Events, 'events', 'events', 'find & list events'
13
13
  register Commands::Invoices, 'invoices', 'invoices', 'find, list, pay, & close invoices'
14
+ register Commands::InvoiceItems, 'invoice_items', 'invoice_items', 'find, list, create, & delete invoice items'
14
15
  register Commands::Transactions, 'transactions', 'transactions', 'find & list balance transactions'
15
16
  register Commands::Balance, 'balance', 'balance', 'show currently available & pending balance amounts'
16
17
  register Commands::Recipients, 'recipients', 'recipients', 'find, list, create, & delete recipients'
@@ -1,5 +1,5 @@
1
1
  module Stripe
2
2
  module CLI
3
- VERSION = "1.7.0"
3
+ VERSION = "1.8.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex MacCaw
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-03-21 00:00:00.000000000 Z
12
+ date: 2015-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -174,6 +174,7 @@ files:
174
174
  - lib/stripe/cli/commands/customers.rb
175
175
  - lib/stripe/cli/commands/events.rb
176
176
  - lib/stripe/cli/commands/gem_version.rb
177
+ - lib/stripe/cli/commands/invoice_items.rb
177
178
  - lib/stripe/cli/commands/invoices.rb
178
179
  - lib/stripe/cli/commands/plans.rb
179
180
  - lib/stripe/cli/commands/recipients.rb