Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wesbillman opened this issue Oct 16, 2024 · 0 comments
Open

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

wesbillman opened this issue Oct 16, 2024 · 0 comments
Labels
bug Something isn't working cli dx triage Issue needs triaging

Comments

@wesbillman
Copy link
Member

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
@wesbillman wesbillman added bug Something isn't working dx cli labels Oct 16, 2024
@github-actions github-actions bot added the triage Issue needs triaging label Oct 16, 2024
This was referenced Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli dx triage Issue needs triaging
Projects
None yet
Development

No branches or pull requests

1 participant