NervesHubLink.Extensions.LocalShell (nerves_hub_link v2.12.0)

Copy Markdown View Source

Provides an interactive local shell for NervesHub to connect to.

This extension supports the following events:

  • request_shell: Requests a shell session.
  • kill_shell: Kills the current shell session. (the default signal is 15 - SIGTERM)
  • shell_input: Sends input to the shell session.
  • window_size: Updates the window size of the shell session.

To use this extension, you need to include the ExPTY library in your project's dependencies.