Forrest logo
tool overview
On this page you find all important commands for the CLI tool input. If the command you are looking for is missing please ask our AI.

input

The command line tool, 'input', is a powerful utility that allows users to interact with a computer system through the command line interface. It enables users to provide data or information to programs or shell scripts directly from the command line. This tool is commonly used to capture user input, such as text, numbers, or options, which can then be utilized by other programs or scripts to perform specific tasks. 'input' provides a convenient way for users to interact with programs in real-time, making it an essential component in many command line-based workflows. It supports various input types, including single-line text, multi-line input, and password input, allowing users to input information securely. Furthermore, 'input' often includes validation capabilities, enabling users to define restrictions or conditions for the input data, ensuring that only valid values are accepted. Overall, the 'input' command line tool greatly enhances the accessibility and flexibility of command line-based operations and enables seamless interaction between users and computer systems.

List of commands for input:

  • input:tldr:2a672 input: Send an event code for a single character to an Android device.
    $ input keyevent ${event_code}
    try on your machine
    explain this command
  • input:tldr:a4eec input: Send a text to an Android device (`%s` represents spaces).
    $ input text "${text}"
    try on your machine
    explain this command
  • input:tldr:c0592 input: Send a single tap to an Android device.
    $ input tap ${x_position} ${y_position}
    try on your machine
    explain this command
  • input:tldr:d39af input: Send a swipe gesture to an Android device.
    $ input swipe ${x_start} ${y_start} ${x_end} ${y_end} ${duration_in_ms}
    try on your machine
    explain this command
tool overview