cli v0.1.5

Build CLI

Build

shards build

Using a Custom API URL

You can specify a custom API endpoint for the CLI by setting the BUILD_API_URL environment variable. This is useful for development or testing against a local or alternative Build API instance.

The URL should include the scheme (http or https) and the port if necessary.

Example:

To run the CLI against a local server running on http://localhost:3000:

BUILD_API_URL='http://localhost:3000' bld login

When BUILD_API_URL is set, the CLI will direct all API requests to this URL, and it will store a separate entry in your .netrc file for this custom host, ensuring your regular Build credentials are not overwritten.

If BUILD_API_URL is not set, the CLI defaults to https://app.build.io.

Contributors

License

All rights reserved.

Repository

cli

Owner
Statistic
  • 0
  • 1
  • 1
  • 0
  • 5
  • 25 days ago
  • May 29, 2024
License

MIT License

Links
Synced at

Tue, 01 Jul 2025 06:09:29 GMT

Languages