code: func (s *Action) Delete(ctx context.Context, c *cli.Context) error {
  	force := c.Bool("force")
  	recursive := c.Bool("recursive")
  
  	name := c.Args().First()
  	if name == "" {
  		return ExitError(ctx, ExitUsage, nil, "Usage: %s rm name", s.Name)
  	}
  
  	if !recursive && s.Store.IsDir(ctx, name) {
  		return ExitError(ctx, ExitUsage, nil, "Cannot remove '%s': Is a directory. Use 'gopass rm -r %s' to delete", name, name)
  	}
  
  	// specifying a key is optional
  	key := c.Args().Get(1)
  
  	if !force { // don't check if it's force anyway
  		recStr := ""
  		if recursive {
  			recStr = "recursively "
  		}
  		if (s.Store.Exists(ctx, name) || s.Store.IsDir(ctx, name)) && key == "" && !termio.AskForConfirmation(ctx, fmt.Sprintf("Are you sure you would like to %sdelete %s?", recStr, name)) {
  			return nil
  		}
  	}
  
  	if recursive {
  		if err := s.Store.Prune(ctx, name); err != nil {
  			return ExitError(ctx, ExitUnknown, err, "failed to prune '%s': %s", name, err)
  		}
  		return nil
  	}
  
  	// deletes a single key from a YAML doc
  	if key != "" {
  		return s.deleteKeyFromYAML(ctx, name, key)
  	}
  
  	if err := s.Store.Delete(ctx, name); err != nil {
  		return ExitError(ctx, ExitIO, err, "Can not delete '%s': %s", name, err)
  	}
  	return nil
  }
docs: // Delete a secret file with its content