id = "boring" name = "boring" homepage = "https://github.com/alebeck/boring" description = "Simple command-line SSH tunnel manager" executables = ["boring"] [dotfiles] # The upstream README documents ~/.boring.toml on macOS/Windows and # $XDG_CONFIG_HOME/boring/.boring.toml (normally ~/.config/boring/.boring.toml) # on Linux. # https://github.com/alebeck/boring#configuration paths = [ "~/.boring.toml", "[configHome]/boring/.boring.toml", ] secret = [] [commands] format = 1 label = "Open or close tunnels" description = "Open or close SSH tunnels defined in the boring config by pattern, group or all. List, edit and version subcommands are left out." quality = "ai-draft" parser = { end_of_options = "--", interleave = "permute", long_equals = false, short_attached = false, short_bundles = false } [[commands.subcommand]] path = ["open"] label = "Open tunnels" [[commands.subcommand.source]] id = "help" kind = "help" url = "https://github.com/alebeck/boring#usage" evidence = """ boring open, o (-a | -g | ...) ... Open tunnels matching any glob pattern -a, --all Open all tunnels -g, --group Open all tunnels in a group""" [[commands.subcommand.field]] id = "patterns" label = "Tunnel name patterns" type = "string" position = 0 multiple = true min = 0 description = "Glob patterns matching tunnel names." sources = ["help"] [[commands.subcommand.field]] id = "all" label = "All tunnels" type = "boolean" option = ["--all", "-a"] sources = ["help"] [[commands.subcommand.field]] id = "group" label = "Group" type = "string" option = ["--group", "-g"] sources = ["help"] [[commands.subcommand.task]] id = "open" label = "Open by pattern" fields = ["patterns"] required = ["patterns"] [[commands.subcommand.task]] id = "open_all" label = "Open all" fields = ["all"] required = ["all"] set = { all = [true] } [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["patterns", "all", "group"] [[commands.subcommand]] path = ["close"] label = "Close tunnels" [[commands.subcommand.source]] id = "help" kind = "help" url = "https://github.com/alebeck/boring#usage" evidence = """ boring close, c Close tunnels (same options as 'open') ... Open tunnels matching any glob pattern -a, --all Open all tunnels -g, --group Open all tunnels in a group""" [[commands.subcommand.field]] id = "patterns" label = "Tunnel name patterns" type = "string" position = 0 multiple = true min = 0 sources = ["help"] [[commands.subcommand.field]] id = "all" label = "All tunnels" type = "boolean" option = ["--all", "-a"] sources = ["help"] [[commands.subcommand.field]] id = "group" label = "Group" type = "string" option = ["--group", "-g"] sources = ["help"] [[commands.subcommand.task]] id = "close" label = "Close by pattern" fields = ["patterns"] required = ["patterns"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["patterns", "all", "group"]