diff options
author | Joel Challis <git@zvecr.com> | 2021-05-02 16:59:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-02 16:59:10 +0100 |
commit | 25c97e0019aff7c529b09d177f23fd1271a120dc (patch) | |
tree | d2abda3bc3afa43580070668a32e3ca1b9c2b00d /lib/python/qmk/cli/new/keyboard.py | |
parent | 0fd8faa1adc9d46c17bb54402c5edbacf396c08f (diff) | |
download | qmk_firmware-25c97e0019aff7c529b09d177f23fd1271a120dc.tar.gz qmk_firmware-25c97e0019aff7c529b09d177f23fd1271a120dc.zip |
Shim cli to new keyboard script (#12780)
* Shim cli to new keyboard script
* Shim cli to new keyboard script
* Add docs
Diffstat (limited to 'lib/python/qmk/cli/new/keyboard.py')
-rw-r--r-- | lib/python/qmk/cli/new/keyboard.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/python/qmk/cli/new/keyboard.py b/lib/python/qmk/cli/new/keyboard.py new file mode 100644 index 000000000..cab0198fb --- /dev/null +++ b/lib/python/qmk/cli/new/keyboard.py | |||
@@ -0,0 +1,11 @@ | |||
1 | """This script automates the creation of keyboards. | ||
2 | """ | ||
3 | from milc import cli | ||
4 | |||
5 | |||
6 | @cli.subcommand('Creates a new keyboard') | ||
7 | def new_keyboard(cli): | ||
8 | """Creates a new keyboard | ||
9 | """ | ||
10 | # TODO: replace this bodge to the existing script | ||
11 | cli.run(['util/new_keyboard.sh'], capture_output=False) | ||