qmk_firmware/lib/python/qmk
Erovia c8b09d0d4a
CLI: Add 'cd' subcommand (#12584)
* CLI: Add 'cd' subcommand

Go to your qmk_firmware dir with ease.

* Fix for Windows and do not run if already under QMK Home

* Make flake8 happy

* Fix prompt for Windows

* Make flake8 happy once again

* I'll get it right eventually

* Apply suggestions from code review

Co-authored-by: Ryan <fauxpark@gmail.com>

* Add subcommand to __init__.py and fixup after rebase

* Update Windows code to use milc's run

* Unify the subshell starting with os.execl

* Exit with error msg when output is redirected to non-TTY.

* Revert Windows-specific code

Co-authored-by: Ryan <fauxpark@gmail.com>
2021-11-05 08:21:09 +11:00
..
cli CLI: Add 'cd' subcommand (#12584) 2021-11-05 08:21:09 +11:00
tests
__init__.py
c_parse.py Remove width, height and key_count from info.json (#14274) 2021-09-12 14:04:56 +10:00
commands.py
comment_remover.py
constants.py
converter.py
datetime.py
decorators.py
errors.py
info.py [CLI] Fix broken layout rendering in qmk info by '\n' (#14970) 2021-10-31 01:21:20 -07:00
json_encoders.py
json_schema.py
keyboard.py
keymap.py Cleanup issues identified by lgtm (#14459) 2021-09-27 10:02:54 -07:00
makefile.py
math.py
path.py
submodules.py