qmk_firmware/lib/python/qmk/cli
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
..
chibios
doctor
format Align some quantum sub-directories (#14134) 2021-08-24 17:07:11 +01:00
generate Allow community layouts to be specified in info.json (#14682) 2021-10-04 09:26:19 -07:00
list Allow community layouts to be specified in info.json (#14682) 2021-10-04 09:26:19 -07:00
new Refactor new-keyboard to be python3.7 compatible (#14707) 2021-11-05 08:14:43 +11:00
__init__.py CLI: Add 'cd' subcommand (#12584) 2021-11-05 08:21:09 +11:00
bux.py
c2json.py
cd.py CLI: Add 'cd' subcommand (#12584) 2021-11-05 08:21:09 +11:00
cformat.py
clean.py
compile.py
console.py
docs.py `qmk docs`: Run `docsify serve` if available (#15056) 2021-11-05 08:02:27 +11:00
fileformat.py
flash.py
hello.py
info.py
json2c.py
kle2json.py
lint.py
multibuild.py
pyformat.py
pytest.py