Table of Contents - tty-command-0.10.1 Documentation
Pages
-
CHANGELOG
- Change log
- v0.10.1 - 2021-02-14
- Fixed
- v0.10.0 - 2020-10-22
- Changed
- Fixed
- v0.9.0 - 2019-09-28
- Changed
- v0.8.2 - 2018-08-07
- Changed
- Fixed
- v0.8.1 - 2018-05-20
- Changed
- v0.8.0 - 2018-04-22
- Added
- Changed
- Fixed
- v0.7.0 - 2017-11-19
- Added
- Changed
- Fixed
- v0.6.0 - 2017-07-22
- Added
- Changed
- Fix
- v0.5.0 - 2017-07-16
- Added
- Changed
- Fixed
- v0.4.0 - 2017-02-22
- Changed
- v0.3.3 - 2017-02-10
- Changed
- v0.3.2 - 2017-02-06
- Fixed
- v0.3.1 - 2017-01-22
- Fixed
- v0.3.0 - 2017-01-13
- Added
- Changed
- v0.2.0 - 2016-07-03
- Added
- Fixed
- v0.1.0 - 2016-05-29
- LICENSE
-
README
- TTY::Command
- Motivation
- Installation
- Contents
- 1. Usage
- 2. Interface
- 2.1 Run
- 2.2 Run!
- 2.3 Logging
- 2.3.1 Color
- 2.3.2 UUID
- 2.3.3 Only output on error
- 2.3.4 Verbose
- 2.4 Dry run
- 2.5 Wait
- 2.6 Test
- 2.7 Ruby interpreter
- 3. Advanced Interface
- 3.1 Environment variables
- 3.2 Options
- 3.2.1 Redirection
- 3.2.2 Handling Input
- 3.2.3 Timeout
- 3.2.4 Binary mode
- 3.2.5 Signal
- 3.2.6 PTY(pseudo terminal)
- 3.2.7 Current directory
- 3.2.8 User
- 3.2.9 Group
- 3.2.10 Umask
- 3.3 Result
- 3.3.1 success?
- 3.3.2 failure?
- 3.3.3 exited?
- 3.3.4 each
- 3.4 Custom printer
- 4. Example
- Development
- Contributing
- License
- Copyright
- TTY::Command
Classes and Modules
- TTY
- TTY::Command
- TTY::Command::ChildProcess
- TTY::Command::Cmd
- TTY::Command::DryRunner
- TTY::Command::ExitError
- TTY::Command::Printers
- TTY::Command::Printers::Abstract
- TTY::Command::Printers::Null
- TTY::Command::Printers::Pretty
- TTY::Command::Printers::Progress
- TTY::Command::Printers::Quiet
- TTY::Command::ProcessRunner
- TTY::Command::Result
- TTY::Command::Truncator
Methods
- ::close_fds — TTY::Command::ChildProcess
- ::convert — TTY::Command::ChildProcess
- ::convert_to_fd — TTY::Command::ChildProcess
- ::fd? — TTY::Command::ChildProcess
- ::fd_to_process_key — TTY::Command::ChildProcess
- ::new — TTY::Command
- ::new — TTY::Command::Cmd
- ::new — TTY::Command::DryRunner
- ::new — TTY::Command::ExitError
- ::new — TTY::Command::Printers::Abstract
- ::new — TTY::Command::Printers::Pretty
- ::new — TTY::Command::ProcessRunner
- ::new — TTY::Command::Result
- ::new — TTY::Command::Truncator
- ::normalize_redirect_options — TTY::Command::ChildProcess
- ::record_separator — TTY::Command
- ::record_separator= — TTY::Command
- ::spawn — TTY::Command::ChildProcess
- ::try_loading_pty — TTY::Command::ChildProcess
- ::try_reading — TTY::Command::ChildProcess
- ::windows? — TTY::Command
- #<< — TTY::Command::Truncator
- #== — TTY::Command::Result
- #append — TTY::Command::Truncator
- #chdir — TTY::Command::Cmd
- #close_fds — TTY::Command::ChildProcess
- #command — TTY::Command
- #complete? — TTY::Command::Result
- #convert — TTY::Command::ChildProcess
- #convert_to_fd — TTY::Command::ChildProcess
- #copy — TTY::Command::Truncator
- #dry_run? — TTY::Command
- #each — TTY::Command::Result
- #environment — TTY::Command::Cmd
- #environment_string — TTY::Command::Cmd
- #evars — TTY::Command::Cmd
- #execute_command — TTY::Command
- #exit_status — TTY::Command::Result
- #exited? — TTY::Command::Result
- #exitstatus — TTY::Command::Result
- #extract_output — TTY::Command::ExitError
- #failed? — TTY::Command::Result
- #failure? — TTY::Command::Result
- #fd? — TTY::Command::ChildProcess
- #fd_to_process_key — TTY::Command::ChildProcess
- #find_printer_class — TTY::Command
- #group — TTY::Command::Cmd
- #handle_timeout — TTY::Command::ProcessRunner
- #info — TTY::Command::ExitError
- #normalize_redirect_options — TTY::Command::ChildProcess
- #pluralize — TTY::Command::Printers::Pretty
- #print_command_err_data — TTY::Command::Printers::Abstract
- #print_command_err_data — TTY::Command::Printers::Pretty
- #print_command_err_data — TTY::Command::Printers::Quiet
- #print_command_exit — TTY::Command::Printers::Abstract
- #print_command_exit — TTY::Command::Printers::Pretty
- #print_command_exit — TTY::Command::Printers::Progress
- #print_command_exit — TTY::Command::Printers::Quiet
- #print_command_out_data — TTY::Command::Printers::Abstract
- #print_command_out_data — TTY::Command::Printers::Pretty
- #print_command_out_data — TTY::Command::Printers::Quiet
- #print_command_start — TTY::Command::Printers::Abstract
- #print_command_start — TTY::Command::Printers::Pretty
- #print_command_start — TTY::Command::Printers::Quiet
- #read — TTY::Command::Truncator
- #read_stream — TTY::Command::ProcessRunner
- #read_streams — TTY::Command::ProcessRunner
- #ruby — TTY::Command
- #run — TTY::Command
- #run! — TTY::Command
- #run! — TTY::Command::DryRunner
- #run! — TTY::Command::ProcessRunner
- #sanitize — TTY::Command::Cmd
- #select_runner — TTY::Command
- #spawn — TTY::Command::ChildProcess
- #status — TTY::Command::Result
- #success? — TTY::Command::Result
- #success_or_failure — TTY::Command::Printers::Pretty
- #success_or_failure — TTY::Command::Printers::Progress
- #terminate — TTY::Command::ProcessRunner
- #test — TTY::Command
- #to_ary — TTY::Command::Result
- #to_command — TTY::Command::Cmd
- #to_hash — TTY::Command::Cmd
- #to_i — TTY::Command::Result
- #to_s — TTY::Command::Cmd
- #to_s — TTY::Command::Result
- #to_s — TTY::Command::Truncator
- #try_loading_pty — TTY::Command::ChildProcess
- #try_reading — TTY::Command::ChildProcess
- #umask — TTY::Command::Cmd
- #update — TTY::Command::Cmd
- #use_printer — TTY::Command
- #user — TTY::Command::Cmd
- #wait — TTY::Command
- #waitpid — TTY::Command::ProcessRunner
- #with_clean_env — TTY::Command::Cmd
- #write — TTY::Command::Printers::Abstract
- #write — TTY::Command::Printers::Null
- #write — TTY::Command::Printers::Pretty
- #write — TTY::Command::Printers::Progress
- #write — TTY::Command::Printers::Quiet
- #write — TTY::Command::Truncator
- #write_stream — TTY::Command::ProcessRunner