def cli(ctx, key, metadata=""):
    """Add a canned key

Output:

    A dictionnary containing canned key description
    """
    return ctx.gi.cannedkeys.add_key(key, metadata=metadata)
def cli ( ctx , key , metadata = "" ) : return ctx . gi . cannedkeys . add_key ( key , metadata = metadata )
Add a canned key

Output:

    A dictionnary containing canned key description