<filename>knack/help_files.py
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------


# commands should add entries to helps in the form: "group command": "YAML help"
helps = {}


def _load_help_file(delimiters):
    import yaml
    if delimiters in helps:
        return yaml.load(helps[delimiters])
    return None

<filename>knack/help_files.py
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------


# commands should add entries to helps in the form: "group command": "YAML help"
helps = {}


def _load_help_file(delimiters):
    import yaml
    if delimiters in helps:
        return yaml.load(helps[delimiters])
    return None

# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- # commands should add entries to helps in the form: "group command": "YAML help"