Skip to content

Obol Agent Init can read from stdin/walk the user through the journey #117

@OisinKyne

Description

@OisinKyne

Problem to be solved

You need to craft the right command to pass an api key to obol agent init, you probably don't know that first time around.

Proposed solution

If you run obol agent init without it, you get an await stdin.

For now, it can be a log line like 'go to ai studio, create an api key, paste it here and press enter'.

I believe before long, we'll end up doing an oauth flow in the CLI for someone to log in and give us a token to use. We may cross that bridge when it makes sense.

This stdin should be parsed as an api key and saved as a secret, as per the existing flow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions