Contributions are welcome. Here is how to get started.
git clone https://github.com/Andrew-most-likely/l2w.git
cd l2w
pip install -e .
pip install pytest
pytest tests/ -v
All tests must pass before submitting a pull request.
- Open
l2w/commands.py - Add a
CommandDefentry toCOMMAND_MAP - If the command needs special argument handling (beyond simple flag substitution), add a
_handle_<command>method to theTranslatorclass intranslator.py - Add tests in
tests/test_translator.py
- Keep changes focused - one command or feature per PR
- Include tests for any new translation logic
- Run
pytest tests/ -vand confirm everything passes
Open an issue and include:
- The
l2wcommand you ran - The translated Windows command that was produced (use
--dry-runto check) - What you expected instead
- Your Windows version (
winver)