def cli(ctx, name=""):
    """Create a new history, optionally setting the ``name``.

Output:

     Dictionary containing information about newly created history
        
    """
    return ctx.gi.histories.create_history(name=name)