Class: HTTY::CLI::Commands::FormClear

Inherits:
HTTY::CLI::Command show all
Defined in:
lib/htty/cli/commands/form_clear.rb

Overview

Encapsulates the form-clear command.

Constant Summary

Constants included from Display

Display::FORMATS

Instance Attribute Summary

Attributes inherited from HTTY::CLI::Command

#arguments, #session

Class Method Summary collapse

Methods inherited from HTTY::CLI::Command

#add_request_if_new, aliases, build_for, command_line, command_line_arguments, complete_for?, help, help_extended, #initialize, notify_if_cookies_cleared, #perform, raw_name, sanitize_arguments, see_also_commands

Methods included from Display

#break, #format, #formatted_prompt_for, #indent, #logotype, #normal, #notice, #pluralize, #rescuing_from, #say, #say_goodbye, #say_header, #say_hello, #show_headers, #show_request, #show_response, #strong, #word_wrap, #word_wrap_indented

Constructor Details

This class inherits a constructor from HTTY::CLI::Command

Class Method Details

.alias_forObject

Returns the command that the form-clear command is an alias for.



7
8
9
# File 'lib/htty/cli/commands/form_clear.rb', line 7

def self.alias_for
  HTTY::CLI::Commands::FormRemoveAll
end

.categoryObject

Returns the name of a category under which help for the form-clear command should appear.



13
14
15
# File 'lib/htty/cli/commands/form_clear.rb', line 13

def self.category
  'Building Requests'
end