tac.extensions.shopk_access.commands

Command implementations for shop management. Handles all CLI commands for configuring and managing the ShopK integration.

Author: Twijn
View on GitHub →

Functions

commands.handleShopCommand(args, tac, d)

View source

Handle shop command

Parameters:

commands.showStatus(tac, d)

View source

Show shop status

Parameters:

commands.handleTiersCommand(args, tac, d)

View source

Handle tiers subcommand

Parameters:

commands.listTiers(tac, d)

View source

List all tiers

Parameters:

commands.removeTier(args, tac, d)

View source

Remove a tier

Parameters:

commands.showSales(tac, d)

View source

Show sales data

Parameters:

commands.handleSubscriptionsCommand(args, tac, d)

View source

Handle subscriptions subcommand

Parameters:

commands.listAllSubscriptions(tac, d)

View source

Show all subscriptions (active and expired)

Parameters:

commands.listActiveSubscriptions(tac, d)

View source

Show active subscriptions

Parameters:

commands.listExpiredSubscriptions(tac, d)

View source

Show expired subscriptions

Parameters:

commands.cancelSubscriptionInteractive(args, tac, d)

View source

Interactive subscription cancellation

Parameters:

commands.cleanupExpiredSubscriptions(args, tac, d)

View source

Clean up expired subscriptions

Parameters:

commands.showSubscriptions(tac, d)

View source

Legacy function for compatibility

Parameters:

commands.showLegacySubscriptions(tac, d)

View source

Show active subscriptions (legacy version to update)

Parameters:

commands.cleanupExpired(tac, d)

View source

Clean up expired cards

Parameters:

commands.resetData(tac, d)

View source

Reset sales data

Parameters:

commands.getCompletions(args)

View source

Get command completions

Parameters:
Returns: table - completion options