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

Output:

    A dictionnary containing canned comment description
    """
    return ctx.gi.cannedcomments.add_comment(comment, metadata=metadata)
def cli ( ctx , comment , metadata = "" ) : return ctx . gi . cannedcomments . add_comment ( comment , metadata = metadata )
Add a canned comment

Output:

    A dictionnary containing canned comment description