Skip to content

feat(cli): add CLI interface with start and validate commands #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 8, 2025

Conversation

lukehinds
Copy link
Collaborator

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.

None yet

1 participant