Skip to content

Ask for OpenAI key in interactive mode #399

@rabisg

Description

@rabisg

Is your feature request related to a problem? Please describe.
Right now at the end of the installation step, the cli prints this:

Done!
Get started:

cd foo

touch .env

Add your API key to .env:
OPENAI_API_KEY=sk-your-key-here

pnpm run dev

It would be better to ask for the key in interactive mode, create the .env file ourself and start the server directly

Describe the solution you'd like
In interactive mode it would be better to get the server up and running and give users an url to start working with

Additional context

  • In non interactive mode skip this step entirely.
  • No need for --openai-key=<> flag for now

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions