feat(scripts): add --timeout and --verbose CLI flags to demo_flow.py

Open Beginner friendly
#19 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
cli, testing

Research direction

Start with scripts/demo_flow.py to trace its CLI argument parsing and HTTP calls, then read engine/tests/test_demo_flow.py for the existing test patterns. Add coverage for parsing --timeout and --verbose, and verify the timeout reaches HTTP calls. Done when the acceptance command applies the timeout and prints step details, omitted flags preserve default output, and --json stays clean.

Written by the indexing model from the issue text.

Description

complexity: trivial engine good first issue

Summary

Add --timeout (HTTP request timeout in seconds) and --verbose (print request/response status + payloads) CLI flags to scripts/demo_flow.py.

Files

  • scripts/demo_flow.py
  • engine/tests/test_demo_flow.py

Acceptance Criteria

  • python scripts/demo_flow.py --timeout 15 --verbose applies the timeout to HTTP calls and logs verbose step details.
  • Default output and --json mode remain clean when flags are omitted.
  • Unit tests cover flag parsing and timeout propagation.
Dominant language
Python
Stars
0
Forks
1
Avg merge
19h 43m
Merged PRs (30d)
5

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sepbox-dev/sepbox

All issues in sepbox-dev/sepbox

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.