def remove_file(relative_path, *args, **options)
      relative_path = relative_path.to_s
      log_status(:remove, relative_path, options.fetch(:verbose, true),
                                         options.fetch(:color, :red))

      return if options[:noop] || !::File.exist?(relative_path)

      ::FileUtils.rm_r(relative_path, force: options[:force],
                       secure: options.fetch(:secure, true))
    end
def remove_file(relative_path, *args, **options)
      relative_path = relative_path.to_s
      log_status(:remove, relative_path, options.fetch(:verbose, true),
                                         options.fetch(:color, :red))

      return if options[:noop] || !::File.exist?(relative_path)

      ::FileUtils.rm_r(relative_path, force: options[:force],
                       secure: options.fetch(:secure, true))
    end
Remove a file or a directory at specified relative path.

 @param [String, Pathname] relative_path
 @param [Hash[:Symbol]] options
 @option options [Symbol] :noop
   pretend removing file
 @option options [Symbol] :force
   remove file ignoring errors
 @option options [Symbol] :verbose
   log status
 @option options [Symbol] :secure
   for secure removing

 @example
   remove_file 'doc/README.md'

 @api public