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

feat: add flag to ftl dev to exit after deploying #871

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

wesbillman
Copy link
Collaborator

@wesbillman wesbillman commented Feb 2, 2024

ftl dev --help
Usage: ftl dev [<base-dir>]

Watch a directory for FTL modules and hot reload them.

Arguments:
  [<base-dir>]    Directory to watch for FTL modules

Flags:
  -h, --help           Show context-sensitive help.
      --version        Show version.
      --config=FILE    Load configuration from TOML file.
      --endpoint=http://127.0.0.1:8892
                       FTL endpoint to bind/connect to ($FTL_ENDPOINT).
      --authenticators=HOST=EXE,…
                       Authenticators to use for FTL endpoints
                       ($FTL_AUTHENTICATORS).

Logging:
  --log-level=info    Log level ($LOG_LEVEL).
  --log-json          Log in JSON format ($LOG_JSON).

Command flags:
  --watch=500ms           Watch template directory at this frequency and regenerate
                          on change.
  --failure-delay=5s      Delay before retrying a failed deploy.
  --reconnect-delay=1s    Delay before attempting to reconnect to FTL.
  --exit-after-deploy     Exit after all modules are deployed successfully.

@wesbillman wesbillman merged commit 7cc1d0b into main Feb 2, 2024
11 checks passed
@wesbillman wesbillman deleted the add-complete-flag-to-ftl-dev branch February 2, 2024 21:44
@alecthomas
Copy link
Collaborator

Niiiiiice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants