rctab_cli.sub_apps.sub

Subscription management commands.

rctab_cli.sub_apps.sub.subscription_app

Typer object for the subscription CLI.

rctab_cli.sub_apps.sub.finance_app

Typer object for the finance CLI.

Functions

add

Add an existing subscription to the billing system and add funds.

add_subscription

Add a subscription to the billing system.

allocate

Allocate credits a subscription.

allocations

List all allocations for a subscription

approvals

List all approvals for a subscription

approve

Approve credits for a subscription

cost_recovery

Recover costs for a given month.

create_allocation

Create an allocation for a subscription.

create_approval

Create an approval for a subscription.

finance_create

Create a finance record for a subscription.

finance_delete

Delete a finance record for a subscription.

finance_get

Get a finance row from the database.

finance_list

List all finance records for a subscription.

finance_update

Update a finance record for a subscription.

get_finance

Retrieve a finance record from the server.

raise_for_status

Check the status code of a response.

set_persistence

Change the persistence of a subscription

set_the_persistence

Set the persistence of a subscription.

summary

Exceptions

SubscriptionIdMismatch