Skip to content

Command

This command is meant to enable one to perform quick management actions on the bovine_store. When using bovine for more advanced tasks, it is recommended to write one’s own management interface based on BovineAdminStore.

python -m bovine_store

Usage:

python -m bovine_store [OPTIONS] COMMAND [ARGS]...

Options:

  --db_url TEXT  Database url  [env var: BOVINE_DB_URL; default:
                 sqlite://bovine.sqlite3]
  --help         Show this message and exit.

actor

lists bovine names in database or shows an actor profile

Usage:

python -m bovine_store actor [OPTIONS]

Options:

  --name BOVINE_NAME       Instead of showing a list, shows a specific actor
                           profile
  --profile filename.json  Reads the given file and adds it to the actor's
                           profile; requires providing a bovine_name
  --help                   Show this message and exit.

cleanup

Removes old stored remote objects

Usage:

python -m bovine_store cleanup [OPTIONS]

Options:

  --batch_size INTEGER  [default: 1000]
  --days INTEGER        Age of post in days to clean  [default: 3]
  --help                Show this message and exit.

create

Creates the database tables

Usage:

python -m bovine_store create [OPTIONS]

Options:

  --help  Show this message and exit.

key

Allows management of cryptographic identifiers

Usage:

python -m bovine_store key [OPTIONS] BOVINE_NAME

Options:

  --list         list identifiers
  --new          Generate a new key
  --add DID_KEY  Add given key
  --help         Show this message and exit.

register

registers a new user

Usage:

python -m bovine_store register [OPTIONS]

Options:

  --domain TEXT  The domain name the account is under  [required]
  --handle TEXT  The handle name
  --help         Show this message and exit.