8000 Plain flahax shows where to start; --version; usage says flahax (#102) by rafatahmed · Pull Request #103 · rafatahmed/Flahax · GitHub
[go: up one dir, main page]

Skip to content

Plain flahax shows where to start; --version; usage says flahax (#102) - #103

Merged
rafatahmed merged 2 commits into
mainfrom
fix/cli-entry
Oct 23, 2026
Merged

rafatahmed merged 2 commits into
mainfrom
fix/cli-entry

Conversation

@rafatahmed
Copy link
Copy Markdown
Owner

Closes #102 (owner's report after installing from GitHub).

  • flahax with no command at a terminal prints a short start screen (version; flahax mix for growers; flahax batch --help; flahax --help) instead of waiting silently for JSON.
  • flahax --version prints 'FlahaX '.
  • The usage line says flahax, not the path to python.exe (prog='flahax').
  • Ctrl+C prints 'Stopped.' and exits 130, without a traceback.
  • Typing a JSON request at a terminal gets a one-line hint on how to end it; piped JSON works exactly as before (tested).

Tests: tests/test_cli_entry.py (start screen, version, program name, Ctrl+C, piped JSON). Full suite with live PHREEQC required OK; tools/verify_distribution.py PASS. Installed from the branch: flahax --version and flahax --help checked through the real entry point.

Merge after #101; if CHANGELOG conflicts, I will update the branch.

@read-the-docs-community
read-the-docs-community Bot commented Oct 23, 2026 •
Copy link
Copy Markdown

Documentation build overview

📚 Flahax | 🛠️ Build #35341153 | 📁 Comparing efce47f against latest (a9bbf97)

  🔍 Preview build  

5 files changed · ± 5 modified

± Modified

@rafatahmed rafatahmed self-assigned this Oct 23, 2026
@rafatahmed
rafatahmed merged commit 4b5fe84 into main Oct 23, 2026
6 checks passed
@rafatahmed
rafatahmed deleted the fix/cli-entry branch October 23, 2026 00:58
rafatahmed added a commit that referenced this pull request Nov 7, 2026
Plain flahax shows where to start; --version; usage says flahax (#102)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plain 'flahax' waits silently for JSON, has no --version, and shows python.exe in its usage line

1 participant

0