Package soovee_app :: Package cli :: Module main
[frames] | no frames]

Module main

SooVee Serial Audio Manager - Main support module for the command interface. Load on-demand soovee.cli.feed and soovee.cli.page depending on tasks performed.


Requires:
Functions
    Terminal interface
None
main(cache, service, account, command=None)
Provide the command interface to access the many serial audio feed tasks available on a service account.
Variables
  __package__ = 'soovee_app.cli'

Imports: entry


Function Details

main(cache, service, account, command=None)

 

Provide the command interface to access the many serial audio feed tasks available on a service account. Interface presents a series of options to select from to perform the tasks. It loops over the task or command option to enable multiple and varied transactions. An empty line will terminate the current task or interface if at the command options.

  • UPDATE - Update serial audio feed data from a service account.
  • FORMAT - Format and output serial audio feeds in a new file.
  • SUBSCRIBE - Add / delete serial audio feeds from service account by chosen feed id.
  • RELEASE - Release of one / all episdoes from a serial audio feed on a service account.
  • BROWSE - Create custom files from serial audio info on service's web page.
Parameters:
  • cache (object) - Initialized soovee.lib.sv_read object.
  • service (object) - Initialized soovee.conf.serviceConf object.
  • account (object/dict) - Intialized soovee.conf.Account shelf object.
  • command (basestring) - Command passed from command line. Default None
Returns: None