init prompts print a traceback on Ctrl-D

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

Start in src/flashpoint/cli.py, in the _init function where the input() prompts run, and check how the missing --team no-terminal path exits with code 2. Wrap the prompt calls so an EOFError from Ctrl-D prints "init cancelled" and exits 2 without a traceback. Done when pressing Ctrl-D at a prompt exits cleanly with that message.

Written by the indexing model from the issue text.

Description

flashpoint init run in a terminal asks for each missing option with input() (src/flashpoint/cli.py, _init). Pressing Ctrl-D at a prompt raises an uncaught EOFError and prints a raw traceback.

Expected: exit cleanly (e.g. exit 2 with "init cancelled"), the same as a missing --team with no terminal.

Found during the team-branding docs review (PR #42).

🤖 Generated with Claude Code

Dominant language
Python
Stars
0
Forks
1
Avg merge
18h 37m
Merged PRs (30d)
15

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 IgniteRobotics/flashpoint

All issues in IgniteRobotics/flashpoint

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.