'Given a command object it will return the default program name
for it.  The default is the `name` attribute or ``"root"`` if not
set.'

def get_default_prog_name(self, cli):

    return (cli.name or 'root')
