Skip to content

[FEATURE]: Make opencode-work work a bit smarter #5

@sfradkin

Description

@sfradkin

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

The documented opencode-work function is handy because it combines AWS auth and starting up OpenCode.

However, the auth runs every time you use the function, even if it doesn't need to run.

Modify the opencode-work shell function to check to see if the current shell has the correct AWS auth tokens prior to running auth. If it does, then auth is skipped and OpenCode is run. If not, then AWS auth should run.

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