You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

805 lines
20 KiB

  1. # QMK CLI Commands
  2. # User Commands
  3. ## `qmk compile`
  4. This command allows you to compile firmware from any directory. You can compile JSON exports from <https://config.qmk.fm>, compile keymaps in the repo, or compile the keyboard in the current working directory.
  5. This command is directory aware. It will automatically fill in KEYBOARD and/or KEYMAP if you are in a keyboard or keymap directory.
  6. **Usage for Configurator Exports**:
  7. ```
  8. qmk compile [-c] <configuratorExport.json>
  9. ```
  10. **Usage for Keymaps**:
  11. ```
  12. qmk compile [-c] [-e <var>=<value>] [-j <num_jobs>] -kb <keyboard_name> -km <keymap_name>
  13. ```
  14. **Usage in Keyboard Directory**:
  15. Must be in keyboard directory with a default keymap, or in keymap directory for keyboard, or supply one with `--keymap <keymap_name>`
  16. ```
  17. qmk compile
  18. ```
  19. **Usage for building all keyboards that support a specific keymap**:
  20. ```
  21. qmk compile -kb all -km <keymap_name>
  22. ```
  23. **Example**:
  24. ```
  25. $ qmk config compile.keymap=default
  26. $ cd ~/qmk_firmware/keyboards/planck/rev6
  27. $ qmk compile
  28. Ψ Compiling keymap with make planck/rev6:default
  29. ...
  30. ```
  31. or with optional keymap argument
  32. ```
  33. $ cd ~/qmk_firmware/keyboards/clueboard/66/rev4
  34. $ qmk compile -km 66_iso
  35. Ψ Compiling keymap with make clueboard/66/rev4:66_iso
  36. ...
  37. ```
  38. or in keymap directory
  39. ```
  40. $ cd ~/qmk_firmware/keyboards/gh60/satan/keymaps/colemak
  41. $ qmk compile
  42. Ψ Compiling keymap with make gh60/satan:colemak
  43. ...
  44. ```
  45. **Usage in Layout Directory**:
  46. Must be under `qmk_firmware/layouts/`, and in a keymap folder.
  47. ```
  48. qmk compile -kb <keyboard_name>
  49. ```
  50. **Example**:
  51. ```
  52. $ cd ~/qmk_firmware/layouts/community/60_ansi/mechmerlin-ansi
  53. $ qmk compile -kb dz60
  54. Ψ Compiling keymap with make dz60:mechmerlin-ansi
  55. ...
  56. ```
  57. **Parallel Compilation**:
  58. It is possible to speed up compilation by adding the `-j`/`--parallel` flag.
  59. ```
  60. qmk compile -j <num_jobs> -kb <keyboard_name>
  61. ```
  62. The `num_jobs` argument determines the maximum number of jobs that can be used. Setting it to zero will enable parallel compilation without limiting the maximum number of jobs.
  63. ```
  64. qmk compile -j 0 -kb <keyboard_name>
  65. ```
  66. ## `qmk flash`
  67. This command is similar to `qmk compile`, but can also target a bootloader. The bootloader is optional, and is set to `:flash` by default. To specify a different bootloader, use `-bl <bootloader>`. Visit the [Flashing Firmware](flashing.md) guide for more details of the available bootloaders.
  68. This command is directory aware. It will automatically fill in KEYBOARD and/or KEYMAP if you are in a keyboard or keymap directory.
  69. This command can also flash binary firmware files (hex or bin) such as the ones produced by [Configurator](https://config.qmk.fm).
  70. **Usage for Configurator Exports**:
  71. ```
  72. qmk flash [-bl <bootloader>] [-c] [-e <var>=<value>] [-j <num_jobs>] <configuratorExport.json>
  73. ```
  74. **Usage for Keymaps**:
  75. ```
  76. qmk flash -kb <keyboard_name> -km <keymap_name> [-bl <bootloader>] [-c] [-e <var>=<value>] [-j <num_jobs>]
  77. ```
  78. **Usage for pre-compiled firmwares**:
  79. **Note**: The microcontroller needs to be specified (`-m` argument) for keyboards with the following bootloaders:
  80. * HalfKay
  81. * QMK HID
  82. * USBaspLoader
  83. ISP flashing is also supported with the following flashers and require the microcontroller to be specified:
  84. * USBasp
  85. * USBtinyISP
  86. ```
  87. qmk flash [-m <microcontroller>] <compiledFirmware.[bin|hex]>
  88. ```
  89. **Listing the Bootloaders**
  90. ```
  91. qmk flash -b
  92. ```
  93. ## `qmk config`
  94. This command lets you configure the behavior of QMK. For the full `qmk config` documentation see [CLI Configuration](cli_configuration.md).
  95. **Usage**:
  96. ```
  97. qmk config [-ro] [config_token1] [config_token2] [...] [config_tokenN]
  98. ```
  99. ## `qmk cd`
  100. This command opens a new shell in your `qmk_firmware` directory.
  101. Note that if you are already somewhere within `QMK_HOME` (for example, the `keyboards/` folder), nothing will happen.
  102. To exit out into the parent shell, simply type `exit`.
  103. **Usage**:
  104. ```
  105. qmk cd
  106. ```
  107. ## `qmk find`
  108. This command allows for searching through keyboard/keymap targets, filtering by specific criteria. `info.json` and `rules.mk` files contribute to the search data, as well as keymap configurations, and the results can be filtered using "dotty" syntax matching the overall `info.json` file format.
  109. For example, one could search for all keyboards using STM32F411:
  110. ```
  111. qmk find -f 'processor=STM32F411'
  112. ```
  113. ...and one can further constrain the list to keyboards using STM32F411 as well as rgb_matrix support:
  114. ```
  115. qmk find -f 'processor=STM32F411' -f 'features.rgb_matrix=true'
  116. ```
  117. The following filter expressions are also supported:
  118. - `exists(key)`: Match targets where `key` is present.
  119. - `absent(key)`: Match targets where `key` is not present.
  120. - `contains(key, value)`: Match targets where `key` contains `value`. Can be used for strings, arrays and object keys.
  121. - `length(key, value)`: Match targets where the length of `key` is `value`. Can be used for strings, arrays and objects.
  122. You can also list arbitrary values for each matched target with `--print`:
  123. ```
  124. qmk find -f 'processor=STM32F411' -p 'keyboard_name' -p 'features.rgb_matrix'
  125. ```
  126. **Usage**:
  127. ```
  128. qmk find [-h] [-km KEYMAP] [-p PRINT] [-f FILTER]
  129. options:
  130. -km KEYMAP, --keymap KEYMAP
  131. The keymap name to build. Default is 'default'.
  132. -p PRINT, --print PRINT
  133. For each matched target, print the value of the supplied info.json key. May be passed multiple times.
  134. -f FILTER, --filter FILTER
  135. Filter the list of keyboards based on their info.json data. Accepts the formats key=value, function(key), or function(key,value), eg. 'features.rgblight=true'. Valid functions are 'absent', 'contains', 'exists' and 'length'. May be passed multiple times; all filters need to match. Value may include wildcards such as '*' and '?'.
  136. ```
  137. ## `qmk console`
  138. This command lets you connect to keyboard consoles to get debugging messages. It only works if your keyboard firmware has been compiled with `CONSOLE_ENABLE=yes`.
  139. **Usage**:
  140. ```
  141. qmk console [-d <pid>:<vid>[:<index>]] [-l] [-n] [-t] [-w <seconds>]
  142. ```
  143. **Examples**:
  144. Connect to all available keyboards and show their console messages:
  145. ```
  146. qmk console
  147. ```
  148. List all devices:
  149. ```
  150. qmk console -l
  151. ```
  152. Show only messages from clueboard/66/rev3 keyboards:
  153. ```
  154. qmk console -d C1ED:2370
  155. ```
  156. Show only messages from the second clueboard/66/rev3:
  157. ```
  158. qmk console -d C1ED:2370:2
  159. ```
  160. Show timestamps and VID:PID instead of names:
  161. ```
  162. qmk console -n -t
  163. ```
  164. Disable bootloader messages:
  165. ```
  166. qmk console --no-bootloaders
  167. ```
  168. ## `qmk doctor`
  169. This command examines your environment and alerts you to potential build or flash problems. It can fix many of them if you want it to.
  170. **Usage**:
  171. ```
  172. qmk doctor [-y] [-n]
  173. ```
  174. **Examples**:
  175. Check your environment for problems and prompt to fix them:
  176. qmk doctor
  177. Check your environment and automatically fix any problems found:
  178. qmk doctor -y
  179. Check your environment and report problems only:
  180. qmk doctor -n
  181. ## `qmk format-json`
  182. Formats a JSON file in a (mostly) human-friendly way. Will usually correctly detect the format of the JSON (info.json or keymap.json) but you can override this with `--format` if necessary.
  183. **Usage**:
  184. ```
  185. qmk format-json [-f FORMAT] <json_file>
  186. ```
  187. ## `qmk info`
  188. Displays information about keyboards and keymaps in QMK. You can use this to get information about a keyboard, show the layouts, display the underlying key matrix, or to pretty-print JSON keymaps.
  189. **Usage**:
  190. ```
  191. qmk info [-f FORMAT] [-m] [-l] [-km KEYMAP] [-kb KEYBOARD]
  192. ```
  193. This command is directory aware. It will automatically fill in KEYBOARD and/or KEYMAP if you are in a keyboard or keymap directory.
  194. **Examples**:
  195. Show basic information for a keyboard:
  196. qmk info -kb planck/rev5
  197. Show the matrix for a keyboard:
  198. qmk info -kb ergodox_ez -m
  199. Show a JSON keymap for a keyboard:
  200. qmk info -kb clueboard/california -km default
  201. ## `qmk json2c`
  202. Creates a keymap.c from a QMK Configurator export.
  203. **Usage**:
  204. ```
  205. qmk json2c [-o OUTPUT] filename
  206. ```
  207. ## `qmk c2json`
  208. Creates a keymap.json from a keymap.c.
  209. **Note:** Parsing C source files is not easy, therefore this subcommand may not work with your keymap. In some cases not using the C pre-processor helps.
  210. **Usage**:
  211. ```
  212. qmk c2json -km KEYMAP -kb KEYBOARD [-q] [--no-cpp] [-o OUTPUT] filename
  213. ```
  214. **Examples**:
  215. ```
  216. qmk c2json -km default -kb handwired/dactyl_promicro
  217. ```
  218. or with filename:
  219. ```
  220. qmk c2json keyboards/handwired/dactyl_promicro/keymaps/default/keymap.c
  221. ```
  222. ## `qmk lint`
  223. Checks over a keyboard and/or keymap and highlights common errors, problems, and anti-patterns.
  224. **Usage**:
  225. ```
  226. qmk lint [-km KEYMAP] [-kb KEYBOARD] [--strict]
  227. ```
  228. This command is directory aware. It will automatically fill in KEYBOARD and/or KEYMAP if you are in a keyboard or keymap directory.
  229. **Examples**:
  230. Do a basic lint check:
  231. qmk lint -kb rominronin/katana60/rev2
  232. ## `qmk list-keyboards`
  233. This command lists all the keyboards currently defined in `qmk_firmware`
  234. **Usage**:
  235. ```
  236. qmk list-keyboards
  237. ```
  238. ## `qmk list-keymaps`
  239. This command lists all the keymaps for a specified keyboard (and revision).
  240. This command is directory aware. It will automatically fill in KEYBOARD if you are in a keyboard directory.
  241. **Usage**:
  242. ```
  243. qmk list-keymaps -kb planck/ez
  244. ```
  245. ## `qmk migrate`
  246. This command searches for legacy code that can be converted to the new `info.json` format and adds it to the specified keyboard's `info.json`.
  247. **Usage**:
  248. ```
  249. qmk migrate [-h] -kb KEYBOARD [-f FILTER]
  250. ```
  251. ## `qmk new-keyboard`
  252. This command creates a new keyboard based on available templates.
  253. Any arguments that are not provided will prompt for input. If `-u` is not passed and `user.name` is set in .gitconfig, it will be used as the default username in the prompt.
  254. **Usage**:
  255. ```
  256. qmk new-keyboard [-kb KEYBOARD] [-t {atmega32u4,STM32F303,etc}] [-l {60_ansi,75_iso,etc}] -u USERNAME
  257. ```
  258. ## `qmk new-keymap`
  259. This command creates a new keymap based on a keyboard's existing default keymap.
  260. This command is directory aware. It will automatically fill in KEYBOARD and/or KEYMAP if you are in a keyboard or keymap directory.
  261. **Usage**:
  262. ```
  263. qmk new-keymap [-kb KEYBOARD] [-km KEYMAP]
  264. ```
  265. ## `qmk clean`
  266. This command cleans up the `.build` folder. If `--all` is passed, any .hex or .bin files present in the `qmk_firmware` directory will also be deleted.
  267. **Usage**:
  268. ```
  269. qmk clean [-a]
  270. ```
  271. ## `qmk via2json`
  272. This command an generate a keymap.json from a VIA keymap backup. Both the layers and the macros are converted, enabling users to easily move away from a VIA-enabled firmware without writing any code or reimplementing their keymaps in QMK Configurator.
  273. **Usage**:
  274. ```
  275. qmk via2json -kb KEYBOARD [-l LAYOUT] [-km KEYMAP] [-o OUTPUT] filename
  276. ```
  277. **Example:**
  278. ```
  279. $ qmk via2json -kb ai03/polaris -o polaris_keymap.json polaris_via_backup.json
  280. Ψ Wrote keymap to /home/you/qmk_firmware/polaris_keymap.json
  281. ```
  282. ## `qmk import-keyboard`
  283. This command imports a data-driven `info.json` keyboard into the repo.
  284. **Usage**:
  285. ```
  286. usage: qmk import-keyboard [-h] filename
  287. ```
  288. **Example:**
  289. ```
  290. $ qmk import-keyboard ~/Downloads/forever60.json
  291. Ψ Importing forever60.json.
  292. Ψ Imported a new keyboard named forever60.
  293. Ψ To start working on things, `cd` into keyboards/forever60,
  294. Ψ or open the directory in your preferred text editor.
  295. Ψ And build with qmk compile -kb forever60 -km default.
  296. ```
  297. ## `qmk import-keymap`
  298. This command imports a data-driven `keymap.json` keymap into the repo.
  299. **Usage**:
  300. ```
  301. usage: qmk import-keymap [-h] filename
  302. ```
  303. **Example:**
  304. ```
  305. qmk import-keymap ~/Downloads/asdf2.json
  306. Ψ Importing asdf2.json.
  307. Ψ Imported a new keymap named asdf2.
  308. Ψ To start working on things, `cd` into keyboards/takashicompany/dogtag/keymaps/asdf2,
  309. Ψ or open the directory in your preferred text editor.
  310. Ψ And build with qmk compile -kb takashicompany/dogtag -km asdf2.
  311. ```
  312. ## `qmk import-kbfirmware`
  313. This command creates a new keyboard based on a [Keyboard Firmware Builder](https://kbfirmware.com/) export.
  314. **Usage**:
  315. ```
  316. usage: qmk import-kbfirmware [-h] filename
  317. ```
  318. **Example:**
  319. ```
  320. $ qmk import-kbfirmware ~/Downloads/gh62.json
  321. Ψ Importing gh62.json.
  322. ⚠ Support here is basic - Consider using 'qmk new-keyboard' instead
  323. Ψ Imported a new keyboard named gh62.
  324. Ψ To start working on things, `cd` into keyboards/gh62,
  325. Ψ or open the directory in your preferred text editor.
  326. Ψ And build with qmk compile -kb gh62 -km default.
  327. ```
  328. ---
  329. # External Userspace Commands
  330. ## `qmk userspace-add`
  331. This command adds a keyboard/keymap to the External Userspace build targets.
  332. **Usage**:
  333. ```
  334. qmk userspace-add [-h] [-km KEYMAP] [-kb KEYBOARD] [builds ...]
  335. positional arguments:
  336. builds List of builds in form <keyboard>:<keymap>, or path to a keymap JSON file.
  337. options:
  338. -h, --help show this help message and exit
  339. -km KEYMAP, --keymap KEYMAP
  340. The keymap to build a firmware for. Ignored when a configurator export is supplied.
  341. -kb KEYBOARD, --keyboard KEYBOARD
  342. The keyboard to build a firmware for. Ignored when a configurator export is supplied.
  343. ```
  344. **Example**:
  345. ```
  346. $ qmk userspace-add -kb planck/rev6 -km default
  347. Ψ Added planck/rev6:default to userspace build targets
  348. Ψ Saved userspace file to /home/you/qmk_userspace/qmk.json
  349. ```
  350. ## `qmk userspace-remove`
  351. This command removes a keyboard/keymap from the External Userspace build targets.
  352. **Usage**:
  353. ```
  354. qmk userspace-remove [-h] [-km KEYMAP] [-kb KEYBOARD] [builds ...]
  355. positional arguments:
  356. builds List of builds in form <keyboard>:<keymap>, or path to a keymap JSON file.
  357. options:
  358. -h, --help show this help message and exit
  359. -km KEYMAP, --keymap KEYMAP
  360. The keymap to build a firmware for. Ignored when a configurator export is supplied.
  361. -kb KEYBOARD, --keyboard KEYBOARD
  362. The keyboard to build a firmware for. Ignored when a configurator export is supplied.
  363. ```
  364. **Example**:
  365. ```
  366. $ qmk userspace-remove -kb planck/rev6 -km default
  367. Ψ Removed planck/rev6:default from userspace build targets
  368. Ψ Saved userspace file to /home/you/qmk_userspace/qmk.json
  369. ```
  370. ## `qmk userspace-list`
  371. This command lists the External Userspace build targets.
  372. **Usage**:
  373. ```
  374. qmk userspace-list [-h] [-e]
  375. options:
  376. -h, --help show this help message and exit
  377. -e, --expand Expands any use of `all` for either keyboard or keymap.
  378. ```
  379. **Example**:
  380. ```
  381. $ qmk userspace-list
  382. Ψ Current userspace build targets:
  383. Ψ Keyboard: planck/rev6, keymap: you
  384. Ψ Keyboard: clueboard/66/rev3, keymap: you
  385. ```
  386. ## `qmk userspace-compile`
  387. This command compiles all the External Userspace build targets.
  388. **Usage**:
  389. ```
  390. qmk userspace-compile [-h] [-e ENV] [-n] [-c] [-j PARALLEL] [-t]
  391. options:
  392. -h, --help show this help message and exit
  393. -e ENV, --env ENV Set a variable to be passed to make. May be passed multiple times.
  394. -n, --dry-run Don't actually build, just show the commands to be run.
  395. -c, --clean Remove object files before compiling.
  396. -j PARALLEL, --parallel PARALLEL
  397. Set the number of parallel make jobs; 0 means unlimited.
  398. -t, --no-temp Remove temporary files during build.
  399. ```
  400. **Example**:
  401. ```
  402. $ qmk userspace-compile
  403. Ψ Preparing target list...
  404. Build planck/rev6:you [OK]
  405. Build clueboard/66/rev3:you [OK]
  406. ```
  407. ## `qmk userspace-doctor`
  408. This command examines your environment and alerts you to potential problems related to External Userspace.
  409. **Example**:
  410. ```
  411. % qmk userspace-doctor
  412. Ψ QMK home: /home/you/qmk_userspace/qmk_firmware
  413. Ψ Testing userspace candidate: /home/you/qmk_userspace -- Valid `qmk.json`
  414. Ψ QMK userspace: /home/you/qmk_userspace
  415. Ψ Userspace enabled: True
  416. ```
  417. ---
  418. # Developer Commands
  419. ## `qmk format-text`
  420. This command formats text files to have proper line endings.
  421. Every text file in the repository needs to have Unix (LF) line ending.
  422. If you are working on **Windows**, you must ensure that line endings are corrected in order to get your PRs merged.
  423. ```
  424. qmk format-text
  425. ```
  426. ## `qmk format-c`
  427. This command formats C code using clang-format.
  428. Run it with no arguments to format all core code that has been changed. Default checks `origin/master` with `git diff`, branch can be changed using `-b <branch_name>`
  429. Run it with `-a` to format all core code, or pass filenames on the command line to run it on specific files.
  430. **Usage for specified files**:
  431. ```
  432. qmk format-c [file1] [file2] [...] [fileN]
  433. ```
  434. **Usage for all core files**:
  435. ```
  436. qmk format-c -a
  437. ```
  438. **Usage for only changed files against origin/master**:
  439. ```
  440. qmk format-c
  441. ```
  442. **Usage for only changed files against branch_name**:
  443. ```
  444. qmk format-c -b branch_name
  445. ```
  446. ## `qmk generate-compilation-database`
  447. **Usage**:
  448. ```
  449. qmk generate-compilation-database [-kb KEYBOARD] [-km KEYMAP]
  450. ```
  451. Creates a `compile_commands.json` file.
  452. Does your IDE/editor use a language server but doesn't _quite_ find all the necessary include files? Do you hate red squigglies? Do you wish your editor could figure out `#include QMK_KEYBOARD_H`? You might need a [compilation database](https://clang.llvm.org/docs/JSONCompilationDatabase.html)! The qmk tool can build this for you.
  453. This command needs to know which keyboard and keymap to build. It uses the same configuration options as the `qmk compile` command: arguments, current directory, and config files.
  454. **Example:**
  455. ```
  456. $ cd ~/qmk_firmware/keyboards/gh60/satan/keymaps/colemak
  457. $ qmk generate-compilation-database
  458. Ψ Making clean
  459. Ψ Gathering build instructions from make -n gh60/satan:colemak
  460. Ψ Found 50 compile commands
  461. Ψ Writing build database to /Users/you/src/qmk_firmware/compile_commands.json
  462. ```
  463. Now open your dev environment and live a squiggly-free life.
  464. ## `qmk docs`
  465. This command starts a local HTTP server which you can use for browsing or improving the docs. Default port is 8936.
  466. Use the `-b`/`--browser` flag to automatically open the local webserver in your default browser.
  467. This command runs `docsify serve` if `docsify-cli` is installed (which provides live reload), otherwise Python's builtin HTTP server module will be used.
  468. **Usage**:
  469. ```
  470. qmk docs [-b] [-p PORT]
  471. ```
  472. ## `qmk generate-docs`
  473. This command allows you to generate QMK documentation locally. It can be uses for general browsing or improving the docs. External tools such as [serve](https://www.npmjs.com/package/serve) can be used to browse the generated files.
  474. **Usage**:
  475. ```
  476. qmk generate-docs
  477. ```
  478. ## `qmk generate-rgb-breathe-table`
  479. This command generates a lookup table (LUT) header file for the [RGB Lighting](feature_rgblight.md) feature's breathing animation. Place this file in your keyboard or keymap directory as `rgblight_breathe_table.h` to override the default LUT in `quantum/rgblight/`.
  480. **Usage**:
  481. ```
  482. qmk generate-rgb-breathe-table [-q] [-o OUTPUT] [-m MAX] [-c CENTER]
  483. ```
  484. ## `qmk kle2json`
  485. This command allows you to convert from raw KLE data to QMK Configurator JSON. It accepts either an absolute file path, or a file name in the current directory. By default it will not overwrite `info.json` if it is already present. Use the `-f` or `--force` flag to overwrite.
  486. **Usage**:
  487. ```
  488. qmk kle2json [-f] <filename>
  489. ```
  490. **Examples**:
  491. ```
  492. $ qmk kle2json kle.txt
  493. ☒ File info.json already exists, use -f or --force to overwrite.
  494. ```
  495. ```
  496. $ qmk kle2json -f kle.txt -f
  497. Ψ Wrote out to info.json
  498. ```
  499. ## `qmk format-python`
  500. This command formats python code in `qmk_firmware`.
  501. **Usage**:
  502. ```
  503. qmk format-python
  504. ```
  505. ## `qmk pytest`
  506. This command runs the python test suite. If you make changes to python code you should ensure this runs successfully.
  507. **Usage**:
  508. ```
  509. qmk pytest [-t TEST]
  510. ```
  511. **Examples**:
  512. Run entire test suite:
  513. qmk pytest
  514. Run test group:
  515. qmk pytest -t qmk.tests.test_cli_commands
  516. Run single test:
  517. qmk pytest -t qmk.tests.test_cli_commands.test_c2json
  518. qmk pytest -t qmk.tests.test_qmk_path
  519. ## `qmk painter-convert-graphics`
  520. This command converts images to a format usable by QMK, i.e. the QGF File Format. See the [Quantum Painter](quantum_painter.md?id=quantum-painter-cli) documentation for more information on this command.
  521. ## `qmk painter-make-font-image`
  522. This command converts a TTF font to an intermediate format for editing, before converting to the QFF File Format. See the [Quantum Painter](quantum_painter.md?id=quantum-painter-cli) documentation for more information on this command.
  523. ## `qmk painter-convert-font-image`
  524. This command converts an intermediate font image to the QFF File Format. See the [Quantum Painter](quantum_painter.md?id=quantum-painter-cli) documentation for more information on this command.