code: func (ca Actions) Run(ctx context.Context, c *cli.Context, i int) error {
  	if len(ca) < i || i >= len(ca) {
  		return errors.New("action not found")
  	}
  	if ca[i].Fn == nil {
  		return errors.New("action invalid")
  	}
  	return ca[i].Fn(ctx, c)
  }
docs: // Run executes the selected action