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

chore: set the run file env var when starting the ui #631

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

njhale
Copy link
Member

@njhale njhale commented Jul 15, 2024

Set the UI_RUN_FILE env var before starting the UI tool
when a run file is provided; e.g. gptscript --ui <run-file.gpt>. This
tells the UI to use the file's run page as the landing page on start.

Depends on gptscript-ai/desktop#30

pkg/cli/gptscript.go Outdated Show resolved Hide resolved
Set the `UI_RUN_FILE` env var before starting the UI tool
when a run file is provided; e.g. `gptscript --ui <run-file.gpt>`. This
tells the UI to use the file's run page as the landing page on start.

Signed-off-by: Nick Hale <4175918+njhale@users.noreply.github.com>
@njhale njhale merged commit d3cac6e into gptscript-ai:main Jul 15, 2024
10 checks passed
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.

5 participants