Skip to content

CLI tool

python -malmabtrieb

Helper to inspect traffic from the cattle drive protocol

Usage:

python -malmabtrieb [OPTIONS] COMMAND [ARGS]...

Options:

  --connection_string TEXT  Connection String to use, if None the
                            CONNECTION_STRING environment variable is used
  --help                    Show this message and exit.

python -malmabtrieb create

Allows one to create an actor

Usage:

python -malmabtrieb create [OPTIONS] BASE_URL

Options:

  --username TEXT     Specify the preferred username
  --auto_follow       automatically accept followers
  --name TEXT         internal name of the actor
  --profile FILENAME  File containing additional profile information as json
  --help              Show this message and exit.

python -malmabtrieb err

Displays error messages

Usage:

python -malmabtrieb err [OPTIONS]

Options:

  --help  Show this message and exit.

python -malmabtrieb fetch

Allows fetching ActivityPub objects

Usage:

python -malmabtrieb fetch [OPTIONS] ACTOR_ID OBJECT_ID

Options:

  --help  Show this message and exit.

python -malmabtrieb in

Displays incoming messages

Usage:

python -malmabtrieb in [OPTIONS]

Options:

  --help  Show this message and exit.

python -malmabtrieb info

Prints the information about the connection.

Usage:

python -malmabtrieb info [OPTIONS]

Options:

  --help  Show this message and exit.

python -malmabtrieb out

Displays outgoing messages

Usage:

python -malmabtrieb out [OPTIONS]

Options:

  --help  Show this message and exit.

python -malmabtrieb trigger

triggers the method with content input. Use - to type it in from stdin. Input is expected to be JSON.

Usage:

python -malmabtrieb trigger [OPTIONS] METHOD INPUT

Options:

  --help  Show this message and exit.