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

Better error message when API token is missing #19

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zmoog
Copy link
Owner

@zmoog zmoog commented Apr 4, 2023

Get the API token from the --api-token command-line option, with the option of setting it from the TOGGL_API_TOKEN environment variable using the envvar feature from Click.

Refs: #14

Get the API token from the `--api-token` command-line option, with the
option of setting it from the TOGGL_API_TOKEN environment variable
using the `envvar` feature from Click.

Refs: #14
@zmoog zmoog self-assigned this Apr 4, 2023
@zmoog zmoog added the enhancement New feature or request label Apr 4, 2023
Fix to avoid having a broken release. We need to upgrade the app to
pydantic v2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant