Command implementations for shop management. Handles all CLI commands for configuring and managing the ShopK integration.
View on GitHub →commands.handleShopCommand(args, tac, d)Handle shop command
args (table): - command argumentstac (table): - TAC instanced (table): - display interfacecommands.showStatus(tac, d)Show shop status
tac (table): - TAC instanced (table): - display interfacecommands.handleTiersCommand(args, tac, d)Handle tiers subcommand
args (table): - command argumentstac (table): - TAC instanced (table): - display interfacecommands.listTiers(tac, d)List all tiers
tac (table): - TAC instanced (table): - display interfacecommands.removeTier(args, tac, d)Remove a tier
args (table): - command argumentstac (table): - TAC instanced (table): - display interfacecommands.showSales(tac, d)Show sales data
tac (table): - TAC instanced (table): - display interfacecommands.handleSubscriptionsCommand(args, tac, d)Handle subscriptions subcommand
args (table): - command argumentstac (table): - TAC instanced (table): - display interfacecommands.listAllSubscriptions(tac, d)Show all subscriptions (active and expired)
tac (table): - TAC instanced (table): - display interfacecommands.listActiveSubscriptions(tac, d)Show active subscriptions
tac (table): - TAC instanced (table): - display interfacecommands.listExpiredSubscriptions(tac, d)Show expired subscriptions
tac (table): - TAC instanced (table): - display interfacecommands.cancelSubscriptionInteractive(args, tac, d)Interactive subscription cancellation
args (table): - command argumentstac (table): - TAC instanced (table): - display interfacecommands.cleanupExpiredSubscriptions(args, tac, d)Clean up expired subscriptions
args (table): - command argumentstac (table): - TAC instanced (table): - display interfacecommands.showSubscriptions(tac, d)Legacy function for compatibility
tac (table): - TAC instanced (table): - display interfacecommands.showLegacySubscriptions(tac, d)Show active subscriptions (legacy version to update)
tac (table): - TAC instanced (table): - display interfacecommands.cleanupExpired(tac, d)Clean up expired cards
tac (table): - TAC instanced (table): - display interfacecommands.resetData(tac, d)Reset sales data
tac (table): - TAC instanced (table): - display interfacecommands.getCompletions(args)Get command completions
args (table): - current arguments