Skip to main content
The ask command sends a natural-language question to EdgeFinder’s AI and returns a sports analysis response. By default it analyzes NFL, but you can switch to NBA or MLB with a single flag. Run edgefinder with no subcommand to enter an interactive REPL where you can ask follow-up questions without retyping the command.

Syntax

Options

query.question
string
required
Your sports analysis question in natural language. Wrap multi-word questions in quotes.
query.--nfl
boolean
default:"true"
Analyze using NFL context. This is the default league; you do not need to pass this flag explicitly.
query.--nba
boolean
Switch to NBA context. Overrides the default NFL league.
query.--mlb
boolean
Switch to MLB context. Overrides the default NFL league.
query.--json
boolean
Output the full JSON response instead of plain text. The JSON payload includes the AI’s response, full conversation history, token usage statistics, and rate limit information.

Examples

Sample output

With --json:

League examples

Interactive mode

Run edgefinder with no subcommand to start an interactive REPL session. This lets you ask follow-up questions and refine your analysis without re-entering the full command each time.
Inside the REPL, use slash commands to switch the active league:
The interactive mode maintains conversation history across turns, so you can ask follow-up questions like “What about the over/under on that game?” and EdgeFinder will remember the context from your previous message.
If you pass both --nba and --mlb, --mlb takes precedence. If neither is passed, NFL is used.