Skip to content

Conversation

@lukehinds
Copy link

Add a new command-line interface to improve user experience and provide better server management capabilities. This change includes:

  • Add new CLI module using Click framework
  • Implement 'start' command with configurable host, port, and responses file
  • Add 'validate' command to check responses.yml structure
  • Update config to support environment variable for responses file path
  • Update README with comprehensive CLI documentation
  • Add CLI entry point in pyproject.toml

The CLI now supports:

  • mockllm start [--responses FILE] [--host HOST] [--port PORT] [--reload]
  • mockllm validate <responses_file>
  • mockllm --version
  • mockllm --help

Bump version for pypi publish

Breaking Changes: None
Dependencies Added: click>=8.1.0

Add a new command-line interface to improve user experience and provide better
server management capabilities. This change includes:

- Add new CLI module using Click framework
- Implement 'start' command with configurable host, port, and responses file
- Add 'validate' command to check responses.yml structure
- Update config to support environment variable for responses file path
- Update README with comprehensive CLI documentation
- Add CLI entry point in pyproject.toml

The CLI now supports:
- mockllm start [--responses FILE] [--host HOST] [--port PORT] [--reload]
- mockllm validate <responses_file>
- mockllm --version
- mockllm --help

Bump version for pypi publish

Breaking Changes: None
Dependencies Added: click>=8.1.0
@lukehinds lukehinds merged commit 718983a into main Apr 8, 2025
3 checks passed
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