code: def do_alias(self, args: argparse.Namespace) -> None:
          
          func = getattr(args, 'func', None)
          if func is not None:
              # Call whatever sub-command function was selected
              func(self, args)
          else:
              # No sub-command was provided, so call help
              self.do_help('alias')
docs: Manage aliases