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

Add an interactive mode to the CLI #2708

Closed
alecthomas opened this issue Sep 17, 2024 · 0 comments · Fixed by #2729
Closed

Add an interactive mode to the CLI #2708

alecthomas opened this issue Sep 17, 2024 · 0 comments · Fixed by #2729
Labels
cli dx triage Issue needs triaging

Comments

@alecthomas
Copy link
Collaborator

alecthomas commented Sep 17, 2024

Introduce an interactive "prompt" mode for the CLI:

$ ftl
> call echo.echo
"Hello, Alice!"
> list
echo.echo
time.time
> profile list
local (local, default)
test (local)

It's not much work, basically just reusing the current CLI, including completion from #2707.

@stuartwdouglas had the additional idea that this could be automatically enabled for ftl dev, with a prompt always appearing at the bottom of the log output.

@github-actions github-actions bot added the triage Issue needs triaging label Sep 17, 2024
This was referenced Sep 17, 2024
stuartwdouglas added a commit that referenced this issue Sep 19, 2024
stuartwdouglas added a commit that referenced this issue Sep 19, 2024
stuartwdouglas added a commit that referenced this issue Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli dx triage Issue needs triaging
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant