Skip to content

Command Line Interface Commands

twitternewsbot

The main command for the CLI.

Usage:

twitternewsbot COMMAND [ARGS]...

build-yaml

Build a .yaml file for Github Actions to run the cron job

Usage:

twitternewsbot build-yaml CRON FILENAME

Arguments:

  • CRON: str - Cron expression for the job
  • FILENAME: str - Name of the file of the script to run

Example:

twitternewsbot build-yaml "0 0 * * *" "main.py"