From 55508312a6cd8691218289335c1b6fb9a4543de8 Mon Sep 17 00:00:00 2001 From: Ramkishor Chaladi Date: Tue, 1 Aug 2023 12:59:12 +0530 Subject: [PATCH 1/3] add text description --- SoftLayer/CLI/account/cancel_item.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/SoftLayer/CLI/account/cancel_item.py b/SoftLayer/CLI/account/cancel_item.py index dddde0c6d..ca1b4d486 100644 --- a/SoftLayer/CLI/account/cancel_item.py +++ b/SoftLayer/CLI/account/cancel_item.py @@ -11,7 +11,16 @@ @click.argument('identifier') @environment.pass_env def cli(env, identifier): - """Cancels a billing item.""" + """Cancel the resource or service for a billing Item. By default the billing item will be canceled on + + the next bill date and reclaim of the resource will begin shortly after the cancellation + + in ./slcli account cancel-item command. + + + Cancels a billing item. + + """ manager = AccountManager(env.client) item = manager.cancel_item(identifier) From 6cf2b30c3bc28b2493e6b73abdc7e5d9afff3b5b Mon Sep 17 00:00:00 2001 From: Christopher Gallo Date: Thu, 3 Aug 2023 15:44:37 -0500 Subject: [PATCH 2/3] Update SoftLayer/CLI/account/cancel_item.py --- SoftLayer/CLI/account/cancel_item.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/SoftLayer/CLI/account/cancel_item.py b/SoftLayer/CLI/account/cancel_item.py index ca1b4d486..b71d75557 100644 --- a/SoftLayer/CLI/account/cancel_item.py +++ b/SoftLayer/CLI/account/cancel_item.py @@ -11,15 +11,8 @@ @click.argument('identifier') @environment.pass_env def cli(env, identifier): - """Cancel the resource or service for a billing Item. By default the billing item will be canceled on - - the next bill date and reclaim of the resource will begin shortly after the cancellation - - in ./slcli account cancel-item command. - - - Cancels a billing item. - + """Cancel the resource or service for a billing Item. + By default the billing item will be canceled on the next bill date and reclaim of the resource will begin shortly after the cancellation """ manager = AccountManager(env.client) From 6f0ec4c3275958124e0c23eed10d17c0e6f3d1c0 Mon Sep 17 00:00:00 2001 From: Christopher Gallo Date: Thu, 3 Aug 2023 16:02:00 -0500 Subject: [PATCH 3/3] Update SoftLayer/CLI/account/cancel_item.py --- SoftLayer/CLI/account/cancel_item.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SoftLayer/CLI/account/cancel_item.py b/SoftLayer/CLI/account/cancel_item.py index b71d75557..5b2b9b3df 100644 --- a/SoftLayer/CLI/account/cancel_item.py +++ b/SoftLayer/CLI/account/cancel_item.py @@ -11,8 +11,10 @@ @click.argument('identifier') @environment.pass_env def cli(env, identifier): - """Cancel the resource or service for a billing Item. - By default the billing item will be canceled on the next bill date and reclaim of the resource will begin shortly after the cancellation + """Cancel the resource or service for a billing item. + + By default the billing item will be canceled on the next bill date and + reclaim of the resource will begin shortly after the cancellation """ manager = AccountManager(env.client)