Contributing¶
Development Setup¶
-
Clone the repository:
-
Create a virtual environment:
-
Install in development mode:
Running Tests¶
Building Documentation¶
Serving Documentation Locally¶
Code Style¶
This project uses: - Black for code formatting - isort for import sorting - flake8 for linting
Pull Request Process¶
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Update documentation
- Submit a pull request
Adding New Commands¶
- Create a new file in
ok_cli/commands/ - Implement the command function
- Add it to the CLI in
ok_cli/cli.py - Update documentation
Adding New Templates¶
- Create template directory in
ok_cli/templates/ - Add
copier.ymlconfiguration - Create template files
- Update
generate.pyto include the new template - Add documentation