Trivia for everyone! Trivia questions from the Open Trivia Database.
To run this or any other Op, install the Ops Platform.
Find information about how to run and build Ops via the Ops Platform Documentation.
To initiate the interactive trivia CLI prompt run:
ops run cto.ai/trivia1. Clone the repo:
git clone <git url>2. Navigate into the directory and install dependencies:
cd trivia && go get ./...1. Run the Op from your current working directory with:
ops run .Use the DEBUG flag in the terminal to see verbose Op output like so:
DEBUG=trivia:* ops run triviaWhen submitting issues or requesting help, be sure to also include the version information. To get your ops version run:
ops -vSee the Contributing Docs for more information.
Vincent Tan |