docs: def _get_or_create_config(path, prompt=True):
      """
      Get or create a Tarbell configuration directory.
      """
      dirname = os.path.dirname(path)
      filename = os.path.basename(path)
  
      try:
          os.makedirs(dirname)
      except OSError:
          pass
  
      try:
          with open(path, 'r+') as f:
              if os.path.isfile(path):
                  puts("{0} already exists, backing up".format(colored.green(path)))
                  _backup(dirname, filename)
              return yaml.load(f)
      except IOError:
          return {}