[Bug] 'new-keymap' command not recognized in QMK CLI
taboopython opened this issue · comments
Describe the Bug
Hello,
I've been trying to create a new keymap using the QMK CLI, but I'm encountering an issue where the new-keymap command is not recognized. This issue persists whether I use the CLI directly on my system(Linux Ubuntu22.04) or within a Docker container.
Here are the steps I've taken:
Installed QMK CLI using pip3 (pip3 install qmk).
Checked the version of QMK CLI using qmk --version, which returned 1.1.2.
Attempted to create a new keymap using qmk new-keymap -kb keychron/k6_pro -km my_keymap.
The above steps resulted in the following error:
error code
usage: qmk [-h] [-V] [-v] [--datetime-fmt DATETIME_FMT] [--log-fmt LOG_FMT]
[--log-file-fmt LOG_FILE_FMT]
[--log-file-level {debug,info,warning,error,critical}]
[--log-file LOG_FILE] [--color] [--no-color] [--unicode] [--no-unicode]
[--interactive] [--config-file CONFIG_FILE]
{config,clone,console,env,setup} ...
qmk: error: argument {config,clone,console,env,setup}: invalid choice: 'new-keymap' (choose from 'config', 'clone', 'console', 'env', 'setup')
I've also tried updating the QMK CLI using pip3 install --upgrade qmk, but the issue persists.
Any help or guidance on this issue would be greatly appreciated.
Thank you!
Keyboard Used
Keychron K6 Pro
Link to product page (if applicable)
Operating System
Linux Ubuntu 22.04
qmk doctor Output
qmk doctor
usage: qmk [-h] [-V] [-v] [--datetime-fmt DATETIME_FMT] [--log-fmt LOG_FMT]
[--log-file-fmt LOG_FILE_FMT]
[--log-file-level {debug,info,warning,error,critical}]
[--log-file LOG_FILE] [--color] [--no-color] [--unicode] [--no-unicode]
[--interactive] [--config-file CONFIG_FILE]
{config,clone,console,env,setup} ...
qmk: error: argument {config,clone,console,env,setup}: invalid choice: 'doctor' (choose from 'config', 'clone', 'console', 'env', 'setup')
Is AutoHotKey / Karabiner installed
- AutoHotKey (Windows)
- Karabiner (macOS)
Other keyboard-related software installed
No response
Additional Context
No response
@taboopython Hi, I think you can use the command 'qmk new-keymap -kb keychron/k6_pro/ansi/rgb -km my_keymap' to have another a try. In fact, under the k6_pro, there are further subdivisions such as ansi/rgb, ansi/white, iso/rgb, iso/white, and so on for different keyboard series.
Thank you very much. However, I have tried running it and get the same error.
Unfortunately, I am going to give up development on Linux for now.