Skip to content

Add command line interface to viewer#6

Open
t0mdavid-m wants to merge 1 commit intomainfrom
claude/add-cli-support-cI8Az
Open

Add command line interface to viewer#6
t0mdavid-m wants to merge 1 commit intomainfrom
claude/add-cli-support-cI8Az

Conversation

@t0mdavid-m
Copy link
Copy Markdown
Owner

  • Add cli.py with server management: start/stop/status commands
  • Support opening files directly: toppview-lite file.mzML
  • Background server keeps Streamlit running for instant file loading
  • Add preprocess_file_headless() for CLI preprocessing without UI
  • Auto-redirect to viewer when file loaded via CLI
  • Update Windows build to use CLI with file association for .mzML
  • Add file association in WiX installer for double-click to open

The CLI maintains a background Streamlit server, so after the initial startup, opening new files is nearly instant instead of waiting for Streamlit to start each time.

- Add cli.py with server management: start/stop/status commands
- Support opening files directly: toppview-lite file.mzML
- Background server keeps Streamlit running for instant file loading
- Add preprocess_file_headless() for CLI preprocessing without UI
- Auto-redirect to viewer when file loaded via CLI
- Update Windows build to use CLI with file association for .mzML
- Add file association in WiX installer for double-click to open

The CLI maintains a background Streamlit server, so after the initial
startup, opening new files is nearly instant instead of waiting for
Streamlit to start each time.
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.

2 participants