BEFORE | commit c30c775536027d7beefa0a90dbdd76a1f08c46d9
Linux x86_64 | fresh data directory per case | real CLI
cloudflared 2026.10.4 official Linux amd64 release
Paths below replace the scratch root with <scratch>.

CASE: 'bin-plain'
PATH='<scratch>/bin-plain':/usr/bin:/bin
$ bash -c 'command -v cloudflared && cloudflared version'
<scratch>/bin-plain/cloudflared
cloudflared version 2026.10.4 (built 2026-10-26-11:12 UTC)
native exit: 0
$ node apps/server/src/bin.ts connect status --base-dir <fresh>
DESCRIPTION
  T3 Connect is unavailable in builds without public configuration.

USAGE
  t3 connect [flags] [<command...>]

ARGUMENTS
  command... string     (optional)

GLOBAL FLAGS
  --help, -h                                                          Show help information
  --version, -v                                                       Show version information
  --wizard                                                            Start wizard mode for a command
  --completions <bash|zsh|fish|powershell|sh|pwsh>                    Print shell completion script (choices: bash, zsh, fish, powershell, sh, pwsh)
  --log-level <all|trace|debug|info|warn|warning|error|fatal|none>    Sets the minimum log level (choices: all, trace, debug, info, warn, warning, error, fatal, none)

ERROR
  Unrecognized flag: --base-dir in command t3 connect
T3 exit: 1

CASE: 'bin space '
PATH='<scratch>/bin space ':/usr/bin:/bin
$ bash -c 'command -v cloudflared && cloudflared version'
<scratch>/bin space /cloudflared
cloudflared version 2026.10.4 (built 2026-10-26-11:12 UTC)
native exit: 0
$ node apps/server/src/bin.ts connect status --base-dir <fresh>
DESCRIPTION
  T3 Connect is unavailable in builds without public configuration.

USAGE
  t3 connect [flags] [<command...>]

ARGUMENTS
  command... string     (optional)

GLOBAL FLAGS
  --help, -h                                                          Show help information
  --version, -v                                                       Show version information
  --wizard                                                            Start wizard mode for a command
  --completions <bash|zsh|fish|powershell|sh|pwsh>                    Print shell completion script (choices: bash, zsh, fish, powershell, sh, pwsh)
  --log-level <all|trace|debug|info|warn|warning|error|fatal|none>    Sets the minimum log level (choices: all, trace, debug, info, warn, warning, error, fatal, none)

ERROR
  Unrecognized flag: --base-dir in command t3 connect
T3 exit: 1

CASE: 'bin quote"'
PATH='<scratch>/bin quote"':/usr/bin:/bin
$ bash -c 'command -v cloudflared && cloudflared version'
<scratch>/bin quote"/cloudflared
cloudflared version 2026.10.4 (built 2026-10-26-11:12 UTC)
native exit: 0
$ node apps/server/src/bin.ts connect status --base-dir <fresh>
DESCRIPTION
  T3 Connect is unavailable in builds without public configuration.

USAGE
  t3 connect [flags] [<command...>]

ARGUMENTS
  command... string     (optional)

GLOBAL FLAGS
  --help, -h                                                          Show help information
  --version, -v                                                       Show version information
  --wizard                                                            Start wizard mode for a command
  --completions <bash|zsh|fish|powershell|sh|pwsh>                    Print shell completion script (choices: bash, zsh, fish, powershell, sh, pwsh)
  --log-level <all|trace|debug|info|warn|warning|error|fatal|none>    Sets the minimum log level (choices: all, trace, debug, info, warn, warning, error, fatal, none)

ERROR
  Unrecognized flag: --base-dir in command t3 connect
T3 exit: 1

CASE: 'empty'
PATH='<scratch>/empty':/usr/bin:/bin
$ bash -c 'command -v cloudflared && cloudflared version'
(not found)
native exit: 1
$ node apps/server/src/bin.ts connect status --base-dir <fresh>
DESCRIPTION
  T3 Connect is unavailable in builds without public configuration.

USAGE
  t3 connect [flags] [<command...>]

ARGUMENTS
  command... string     (optional)

GLOBAL FLAGS
  --help, -h                                                          Show help information
  --version, -v                                                       Show version information
  --wizard                                                            Start wizard mode for a command
  --completions <bash|zsh|fish|powershell|sh|pwsh>                    Print shell completion script (choices: bash, zsh, fish, powershell, sh, pwsh)
  --log-level <all|trace|debug|info|warn|warning|error|fatal|none>    Sets the minimum log level (choices: all, trace, debug, info, warn, warning, error, fatal, none)

ERROR
  Unrecognized flag: --base-dir in command t3 connect
T3 exit: 1
