Skip to main content

Module cli

Module cli 

Source
Expand description

CliGenerator — generates a Unix shell script and/or Windows .cmd file.

The generated script:

  • Has a #!/usr/bin/env sh shebang on Unix.
  • Contains a BRIDGES map with one or more live session bridges.
  • Has one case branch per upstream tool, each mapped to a kebab-case subcommand.
  • Picks the bridge for the current process tree when multiple sessions share a CLI name.
  • Passes Authorization: Bearer <session token> on every POST /exec request.
  • Is marked executable (Unix chmod 755).

Structs§

CliGenerator

Functions§

read_live_bridge_entries