complain if --api-url or corresponding env var is not set #8

Open
opened 2026-06-13 13:30:34 +00:00 by adina · 0 comments
Owner

Some commands, like 'inline-records', require at least an API URL. It is either provided via command line argument or environment variable. When one forgets to set the env var and supplies no --api-url option, the command itself does not error, but the program crashes unhelpfully. It would be nicer if one gets a proper error that no API url is known/given.

Some commands, like 'inline-records', require at least an API URL. It is either provided via command line argument or environment variable. When one forgets to set the env var and supplies no --api-url option, the command itself does not error, but the program crashes unhelpfully. It would be nicer if one gets a proper error that no API url is known/given.
adina changed title from cmmplain if --api-url or corresponding env var is not set to complain if --api-url or corresponding env var is not set 2026-06-13 13:30:44 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
orinoco/query-things#8
No description provided.