qmk-keychron-q3-colemak-dh/lib/python/qmk/cli
Bao 590b405468
New CLI subcommand to create clang-compatible compilation database (compile_commands.json) (#14370)
* pulled source from dev branch

* missed a file from origin

* formatting

* revised argument names. relaxed matching rules to work for avr too

* add docstrings

* added docs. tightened up regex

* remove unused imports

* cleaning up command file. use existing qmk dir constant

* rename parser library file

* move lib functions into command file. there are only 2 and they aren't large

* currently debugging...

* more robustly find config

* updated docs

* remove unused imports

* reuse make executable from the main make command

* pulled source from dev branch

* missed a file from origin

* formatting

* revised argument names. relaxed matching rules to work for avr too

* add docstrings

* added docs. tightened up regex

* remove unused imports

* cleaning up command file. use existing qmk dir constant

* rename parser library file

* move lib functions into command file. there are only 2 and they aren't large

* currently debugging...

* more robustly find config

* updated docs

* remove unused imports

* reuse make executable from the main make command

* remove MAKEFLAGS from environment for better control over process management

* Update .gitignore

Co-authored-by: Michael Forster <forster@google.com>

* add a usage line to docs

* doc change as suggested

Co-authored-by: Nick Brassel <nick@tzarc.org>

* rename command

* remove debug print statements

* generate-compilation-database: fix arg handling

* generate-comilation-db: improve error handling

* use cli.run() instead of Popen()

Co-authored-by: Xton <cdewan@apple.com>
Co-authored-by: Christon DeWan <cmdpix@mac.com>
Co-authored-by: Michael Forster <forster@google.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-09-16 14:59:57 +10:00
..
chibios Ensure that safe_commands always run (#13199) 2021-06-14 16:51:58 -07:00
doctor Remove bin/qmk (#14231) 2021-08-29 16:50:22 -07:00
format Remove bin/qmk (#14231) 2021-08-29 16:50:22 -07:00
generate New CLI subcommand to create clang-compatible compilation database (compile_commands.json) (#14370) 2021-09-16 14:59:57 +10:00
list Ensure that safe_commands always run (#13199) 2021-06-14 16:51:58 -07:00
new Align some quantum sub-directories (#14134) 2021-08-24 17:07:11 +01:00
__init__.py New CLI subcommand to create clang-compatible compilation database (compile_commands.json) (#14370) 2021-09-16 14:59:57 +10: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
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
docs.py qmk docs: Add flag to open in browser (#13788) 2021-07-30 14:47:34 +01: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 CLI: Add development mode support 2020-04-08 09:31:14 -07:00
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 fix automatic directory for qmk lint (#14215) 2021-08-28 23:02:31 -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 Remove bin/qmk (#14231) 2021-08-29 16:50:22 -07:00