qmk-firmware/lib/python/qmk/cli
Erovia c89c084146
CLI: More MSYS2 fixes (#8577)
* CLI: More MSYS2 fixes

Now I can fully setup and work with qmk_firmware on an MSYS2
installation without any errors or exceptions.

* Apply suggestions from code review

Co-Authored-By: skullydazed <skullydazed@users.noreply.github.com>

* Some improvements

* Remove unnecessary import

* Remove slow, unused code

Getting the version from GIT was slow on both Windows and Docker.
Until we find a better, faster way, this is removed.

* remove unused imports

* Implement @vomindoraan's suggestions

* refine how we pick the shell to use

* Apply @fauxpark's suggestions

fauxpark investigated the topic of shells in MSYS2 a bit and we come to the conclusion that the safest bet was to just use the user's shell.
Anything more just opens up more edge-cases than it solves.

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Use `platform_id` in doctor

This will bring it in line with the new code.

Co-authored-by: skullydazed <skullydazed@users.noreply.github.com>
Co-authored-by: skullY <skullydazed@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-03-29 14:29:44 +02:00
..
json CLI: Hide json-keymap subcommand, as it's been deprecated. 2020-03-18 10:17:23 -07:00
list Add decorators for determining keyboard and keymap based on current directory (#8191) 2020-03-13 15:47:04 -07:00
new Add decorators for determining keyboard and keymap based on current directory (#8191) 2020-03-13 15:47:04 -07:00
__init__.py Add decorators for determining keyboard and keymap based on current directory (#8191) 2020-03-13 15:47:04 -07:00
cformat.py New functionality for cformat (#7893) 2020-02-22 20:57:19 -08:00
compile.py Add decorators for determining keyboard and keymap based on current directory (#8191) 2020-03-13 15:47:04 -07:00
config.py Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00
docs.py Use os.chdir for `qmk docs` instead of a custom HTTP request handler (#7493) 2019-11-29 15:45:22 -08:00
doctor.py CLI: More MSYS2 fixes (#8577) 2020-03-29 14:29:44 +02:00
flash.py Add decorators for determining keyboard and keymap based on current directory (#8191) 2020-03-13 15:47:04 -07:00
hello.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
json2c.py use qmk.path.normpath to locate the output file. 2020-03-12 13:48:17 -07:00
kle2json.py Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00
pyformat.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
pytest.py Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00