Skip to content

Interactive terminal running commands when --help is used #3139

Closed

Description

Getting help while in the interactive terminal, seems to cause the help to be displayed followed by running the command.

For example, typing build --help will result in the following:

> build --help


Usage: ftl build [<dirs> ...] [flags]

Build all modules found in the specified directories.

Arguments:
  [<dirs> ...]    Base directories containing modules (defaults
                  to modules in project config).

Flags:
  -h, --help             Show context-sensitive help.
      --version          Show version.
      --endpoint=http://127.0.0.1:8892
                         FTL endpoint to bind/connect to
                         ($FTL_ENDPOINT).
  -C, --config=FILE      Path to FTL project configuration file
                         ($FTL_CONFIG).
      --authenticators=HOST=EXE,…
                         Authenticators to use for FTL endpoints
                         ($FTL_AUTHENTICATORS).
      --insecure         Skip TLS certificate verification.
                         Caution: susceptible to
                         machine-in-the-middle attacks.
      --plain            Use a plain console with no color or
                         status line ($FTL_PLAIN).
      --opvault=VAULT    1Password vault to be used for secrets.
                         The name of the 1Password item will be
                         the <ref> and the secret will be stored
                         in the password field.

Logging:
  --log-level=info    Log level ($LOG_LEVEL).
  --log-json          Log in JSON format ($LOG_JSON).
  --log-timestamps    Include timestamps in text logs
                      ($LOG_TIMESTAMPS).
  --log-color         Enable colored output regardless of TTY
                      ($LOG_COLOR).

Command flags:
  -j, --parallelism=8              Number of modules to build in
                                   parallel.
info:cron:build: Building module
info:pubsub:build: Building module
info:fsm:build: Building module
info:time:build: Building module
info:http:build: Building module
info:time:build: Building module
info:cron:build: Building module
info:http:build: Building module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

bugSomething isn't workingclidx

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions