module RatatuiRuby::Tea::Shortcuts::Cmd
Short alias for Command.
Public Class Methods
Source
# File lib/ratatui_ruby/tea/shortcuts.rb, line 33 def self.exit Command.exit end
Creates an exit command. Alias for Command.exit.
Source
# File lib/ratatui_ruby/tea/shortcuts.rb, line 45 def self.map(inner_command, &mapper) Command.map(inner_command, &mapper) end
Creates a mapped command. Short alias for Command.map.
Source
# File lib/ratatui_ruby/tea/shortcuts.rb, line 39 def self.sh(command, tag) Command.system(command, tag) end
Creates a shell execution command. Short alias for Command.system.