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 Ensure that safe_commands always run (#13199) 2021-06-14 16:51:58 -07:00
doctor Cleanup issues identified by lgtm (#14459) 2021-09-27 10:02:54 -07:00
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 World domination (#13021) 2021-05-29 20:05:46 +01:00
c2json.py CLI/c2json: Print 'cpp' error when executed in verbose mode (#12869) 2021-05-27 17:42:38 +01:00
cd.py CLI: Add 'cd' subcommand (#12584) 2021-11-05 08:21:09 +11:00
cformat.py Move all our CLI file formatters to the format dir (#13296) 2021-07-20 11:52:14 -07:00
clean.py Align our subprocess usage with current best practices. (#12940) 2021-05-19 15:24:46 -07:00
compile.py --parallel improvements (#13800) 2021-08-18 08:46:59 +10:00
console.py Change USBasp and bootloadHID bootloaders to lowercase (#14354) 2021-09-10 17:17:54 +10:00
docs.py qmk docs: Run docsify serve if available (#15056) 2021-11-05 08:02:27 +11:00
fileformat.py Move all our CLI file formatters to the format dir (#13296) 2021-07-20 11:52:14 -07:00
flash.py --parallel improvements (#13800) 2021-08-18 08:46:59 +10:00
hello.py
info.py Add a lot more data to info.json (#13366) 2021-08-16 23:33:30 +01:00
json2c.py Add support for tab completion (#12411) 2021-04-14 19:00:22 -07:00
kle2json.py Remove references to info.json width and height in CLI (#13728) 2021-07-29 22:37:18 -07:00
lint.py Improve the qmk lint readme check (#13941) 2021-08-10 07:48:22 -07:00
multibuild.py --parallel improvements (#13800) 2021-08-18 08:46:59 +10:00
pyformat.py Move all our CLI file formatters to the format dir (#13296) 2021-07-20 11:52:14 -07:00
pytest.py Align our subprocess usage with current best practices. (#12940) 2021-05-19 15:24:46 -07:00