Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "sub deactivate" command #12

Open
llewelld opened this issue Dec 5, 2023 · 1 comment
Open

Add "sub deactivate" command #12

llewelld opened this issue Dec 5, 2023 · 1 comment
Labels
good first issue Good for newcomers

Comments

@llewelld
Copy link
Contributor

llewelld commented Dec 5, 2023

Currently there's no obvious way to deactivate accounts that still have funds and haven't yet reached their expiration date. For users that request it, it would be helpful to provide a command to easilly deactivate an account (i.e. to bring the expiration date forward to today).

This could for example be in the form of an immediate deactivation command:

rcp-tab sub deactivate --subscription-id <id>

Another alternative might be to allow the expiration date of the subscription to be adjusted:

rcp-tab sub adjust --subscription-id <id> --date-to <date>
@Iain-S
Copy link
Contributor

Iain-S commented Apr 19, 2024

This sounds like a good QoL improvement. The more major change would be to allow approval expiry dates to be brought forward but the long-term goal would be to use the finance table in place of approvals so perhaps a short term fix would be better. The short-term fix would be to make rctab sub deactivate a shortcut to rctab approve --amount (-1 x remaining budget).

@Iain-S Iain-S added the good first issue Good for newcomers label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants