Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Add endpoint config to init#3

Merged
rocpatel merged 1 commit intomainfrom
add-endpoint-config
Jul 3, 2024
Merged

Add endpoint config to init#3
rocpatel merged 1 commit intomainfrom
add-endpoint-config

Conversation

@rocpatel
Copy link
Copy Markdown
Contributor

@rocpatel rocpatel commented Jul 3, 2024

Adding optionally configuring an endpoint for an api key. This will allow to test against a locally deployed version of the api.

}

err = huh.NewInput().
Title("Enter an API endpoint (optional).").
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we update the prompt to include some info about what the default will be? Maybe something like this:

Title("Enter an API endpoint (optional, defaults to https://api.workos.com)")

@rocpatel rocpatel force-pushed the add-endpoint-config branch from 0d888dd to 0acba74 Compare July 3, 2024 16:16
@rocpatel rocpatel merged commit 76b112a into main Jul 3, 2024
@rocpatel rocpatel deleted the add-endpoint-config branch July 3, 2024 16:17
rocpatel added a commit that referenced this pull request Jul 4, 2024
rocpatel added a commit that referenced this pull request Jul 4, 2024
* Add endpoint config to init (#3)

* Add charm library for formatting output
kkajla12 pushed a commit that referenced this pull request Jul 5, 2024
* Add endpoint config to init (#3)

* Add charm library for formatting output
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants