buildkite / cli

A command line interface for Buildkite.
MIT License
169 stars 44 forks source link

Allow for an alternate buildkite.com to be specified #406

Closed CerealBoy closed 1 week ago

CerealBoy commented 1 week ago

Given a BUILDKITE_GRAPHQL_ENDPOINT env is found, use it as the base for the GraphQL API calls being made instead of the built-in default.

dabarrell commented 1 week ago

Looks like this only handles graphql - it'd be good if we didn't have to specify the graphql and rest API base URLs separately

mcncl commented 1 week ago

LGTM!

edit, looks like i don't have approve power 😅

You can approve, but it means nothing 😛

CerealBoy commented 1 week ago

Looks like this only handles graphql - it'd be good if we didn't have to specify the graphql and rest API base URLs separately

@dabarrell There doesn't appear to be any rest API usage at the moment, only graphql.