diff options
author | Erovia <erovia@users.noreply.github.com> | 2020-03-23 21:59:44 +0100 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2020-04-08 09:31:14 -0700 |
commit | 38f14c4174afe7c576e8bd032f18b1dcceaf9c77 (patch) | |
tree | c72ba64ba7a7a746c5c13c77af837dbbe5d3b32a | |
parent | eb683c8c52df7e3fb6d9829ec15c634e23e9f2ce (diff) | |
download | qmk_firmware-38f14c4174afe7c576e8bd032f18b1dcceaf9c77.tar.gz qmk_firmware-38f14c4174afe7c576e8bd032f18b1dcceaf9c77.zip |
Don't hide for devs...
-rw-r--r-- | lib/python/qmk/cli/cformat.py | 2 | ||||
-rw-r--r-- | lib/python/qmk/cli/docs.py | 2 | ||||
-rwxr-xr-x | lib/python/qmk/cli/kle2json.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/qmk/cli/cformat.py b/lib/python/qmk/cli/cformat.py index 48f8b9bcc..536ee30fd 100644 --- a/lib/python/qmk/cli/cformat.py +++ b/lib/python/qmk/cli/cformat.py | |||
@@ -35,7 +35,7 @@ def cformat_run(files, all_files): | |||
35 | @cli.argument('-a', '--all-files', arg_only=True, action='store_true', help='Format all core files.') | 35 | @cli.argument('-a', '--all-files', arg_only=True, action='store_true', help='Format all core files.') |
36 | @cli.argument('-b', '--base-branch', default='origin/master', help='Branch to compare to diffs to.') | 36 | @cli.argument('-b', '--base-branch', default='origin/master', help='Branch to compare to diffs to.') |
37 | @cli.argument('files', nargs='*', arg_only=True, help='Filename(s) to format.') | 37 | @cli.argument('files', nargs='*', arg_only=True, help='Filename(s) to format.') |
38 | @cli.subcommand("Format C code according to QMK's style.", hidden=True) | 38 | @cli.subcommand("Format C code according to QMK's style.", hidden=False if cli.config.user.developer else True) |
39 | def cformat(cli): | 39 | def cformat(cli): |
40 | """Format C code according to QMK's style. | 40 | """Format C code according to QMK's style. |
41 | """ | 41 | """ |
diff --git a/lib/python/qmk/cli/docs.py b/lib/python/qmk/cli/docs.py index 1d655ecaa..581610650 100644 --- a/lib/python/qmk/cli/docs.py +++ b/lib/python/qmk/cli/docs.py | |||
@@ -7,7 +7,7 @@ from milc import cli | |||
7 | 7 | ||
8 | 8 | ||
9 | @cli.argument('-p', '--port', default=8936, type=int, help='Port number to use.') | 9 | @cli.argument('-p', '--port', default=8936, type=int, help='Port number to use.') |
10 | @cli.subcommand('Run a local webserver for QMK documentation.', hidden=True) | 10 | @cli.subcommand('Run a local webserver for QMK documentation.', hidden=False if cli.config.user.developer else True) |
11 | def docs(cli): | 11 | def docs(cli): |
12 | """Spin up a local HTTPServer instance for the QMK docs. | 12 | """Spin up a local HTTPServer instance for the QMK docs. |
13 | """ | 13 | """ |
diff --git a/lib/python/qmk/cli/kle2json.py b/lib/python/qmk/cli/kle2json.py index 4e74e75a3..3ed6594e0 100755 --- a/lib/python/qmk/cli/kle2json.py +++ b/lib/python/qmk/cli/kle2json.py | |||
@@ -26,7 +26,7 @@ class CustomJSONEncoder(json.JSONEncoder): | |||
26 | 26 | ||
27 | @cli.argument('filename', help='The KLE raw txt to convert') | 27 | @cli.argument('filename', help='The KLE raw txt to convert') |
28 | @cli.argument('-f', '--force', action='store_true', help='Flag to overwrite current info.json') | 28 | @cli.argument('-f', '--force', action='store_true', help='Flag to overwrite current info.json') |
29 | @cli.subcommand('Convert a KLE layout to a Configurator JSON', hidden=True) | 29 | @cli.subcommand('Convert a KLE layout to a Configurator JSON', hidden=False if cli.config.user.developer else True) |
30 | def kle2json(cli): | 30 | def kle2json(cli): |
31 | """Convert a KLE layout to QMK's layout format. | 31 | """Convert a KLE layout to QMK's layout format. |
32 | """ # If filename is a path | 32 | """ # If filename is a path |