Skip to content

With no arguments, always open the startup window - #21

Merged
DavidSagan merged 1 commit into
mainfrom
startup-always
Nov 7, 2026
Merged

DavidSagan merged 1 commit into
mainfrom
startup-always

Conversation

@DavidSagan

Copy link
Copy Markdown
Member

Summary

Running tao-gui with no arguments now always opens the startup window, even when the current directory has a tao.init. Before, a tao.init there started Tao immediately.

With a tao.init present, the window is already set up to use it: the working directory is the current directory and the command preview shows -init_file tao.init. Start Tao can be pressed right away, or you can change files and options first.

  • Command-line arguments: tao-gui <tao arguments> still starts Tao directly, as before.
  • Code: the choice between the two moved into start(gui, args) in app.py, so it can be tested. The --help text and README are updated.

Based on main after the README edit in 93ba647.

Testing

  • 56 tests pass and 1 is skipped, locally and against the conda-forge Tao used in CI. 1 is new: with tao.init in the current directory and no arguments, only the startup window is visible, Tao is not running, Start Tao is enabled with tao.init in the preview, and pressing it starts Tao and opens the Main window.

🤖 Generated with Claude Code

Before, a tao.init in the current directory started Tao at once. Now the
startup window always opens; with a tao.init present it is already set
up to use it, so Start Tao can be pressed right away.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DavidSagan
DavidSagan merged commit 37b41c4 into main Nov 7, 2026
2 checks passed
@DavidSagan
DavidSagan deleted the startup-always branch November 7, 2026 08:17
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.

1 participant