code: def _nonempty_project(string):
      
      value = str(string)
      if len(value) == 0:
          msg = "No project provided and no default project configured"
          raise argparse.ArgumentTypeError(msg)
      return value
docs: Argparse validator for ensuring a workspace is provided