~ruther/qmk_firmware

38f14c4174afe7c576e8bd032f18b1dcceaf9c77 — Erovia 5 years ago eb683c8
Don't hide for devs...
3 files changed, 3 insertions(+), 3 deletions(-)

M lib/python/qmk/cli/cformat.py
M lib/python/qmk/cli/docs.py
M lib/python/qmk/cli/kle2json.py
M lib/python/qmk/cli/cformat.py => lib/python/qmk/cli/cformat.py +1 -1
@@ 35,7 35,7 @@ def cformat_run(files, all_files):
@cli.argument('-a', '--all-files', arg_only=True, action='store_true', help='Format all core files.')
@cli.argument('-b', '--base-branch', default='origin/master', help='Branch to compare to diffs to.')
@cli.argument('files', nargs='*', arg_only=True, help='Filename(s) to format.')
@cli.subcommand("Format C code according to QMK's style.", hidden=True)
@cli.subcommand("Format C code according to QMK's style.", hidden=False if cli.config.user.developer else True)
def cformat(cli):
    """Format C code according to QMK's style.
    """

M lib/python/qmk/cli/docs.py => lib/python/qmk/cli/docs.py +1 -1
@@ 7,7 7,7 @@ from milc import cli


@cli.argument('-p', '--port', default=8936, type=int, help='Port number to use.')
@cli.subcommand('Run a local webserver for QMK documentation.', hidden=True)
@cli.subcommand('Run a local webserver for QMK documentation.', hidden=False if cli.config.user.developer else True)
def docs(cli):
    """Spin up a local HTTPServer instance for the QMK docs.
    """

M lib/python/qmk/cli/kle2json.py => lib/python/qmk/cli/kle2json.py +1 -1
@@ 26,7 26,7 @@ class CustomJSONEncoder(json.JSONEncoder):

@cli.argument('filename', help='The KLE raw txt to convert')
@cli.argument('-f', '--force', action='store_true', help='Flag to overwrite current info.json')
@cli.subcommand('Convert a KLE layout to a Configurator JSON', hidden=True)
@cli.subcommand('Convert a KLE layout to a Configurator JSON', hidden=False if cli.config.user.developer else True)
def kle2json(cli):
    """Convert a KLE layout to QMK's layout format.
    """  # If filename is a path