Skip to content

Commit

Permalink
fixup! Add commands to manage credits
Browse files Browse the repository at this point in the history
  • Loading branch information
tomach committed Nov 27, 2023
1 parent dc34885 commit 7da504e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions croud/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1223,8 +1223,9 @@
),
Argument(
"--status", type=str, required=False,
help="Filter credits by status. By default only "
"``ACTIVE`` credits are listed.",
help="Filter credits by status, comma separated. Valid "
"values are ``ACTIVE`` and ``EXPIRED``. By "
"default only ``ACTIVE`` credits are listed.",
),
],
"resolver": org_credits_list,
Expand All @@ -1243,10 +1244,10 @@
Argument(
"--expiration-date", type=str, required=True,
help="The expiration date of the credit in ISO 8601 "
"format.",
"format (i.e. ``2024-01-01T10:00:00Z``).",
),
Argument(
"--comment", type=str, required=False,
"--comment", type=str, required=True,
help="The reason for creating this credit.",
),
],
Expand All @@ -1271,7 +1272,7 @@
Argument(
"--expiration-date", type=str, required=False,
help="The expiration date of the credit in ISO 8601 "
"format.",
"format (i.e. ``2024-01-01T10:00:00Z``).",
),
Argument(
"--comment", type=str, required=False,
Expand Down

0 comments on commit 7da504e

Please sign in to comment.