borrow-dev 0.1.3

Official CLI for Borrow.dev Open-Source Web Development Tools
Documentation

Borrow CLI

Install

cargo install borrow-dev

🌎 Ms

Borrow Ms is a command-line tool to quickly measure your API latency around the world with 1 command.

You can also share the results publicly, see public queries.

Usage

export BORROW_API_KEY=your_api_key_here
borrow ms <URL> [OPTIONS]

🏗 Start

Borrow Start is a command-line tool that helps you quickly set up common boilerplate code with pre-defined templates and placeholders.

Templates are downloaded from the Borrow registry, or you can create your own templates and refer to them locally by using the local: prefix before <template>.

Usage

# Download and install a template
borrow start new -t <template> -o <output_dir>
# Delete a template from the cache
borrow start del -t <template>

Example

borrow start new -t supabase-proxy -o ~/my-awesome-project

Roadmap

  • Add support for self-hosted GitHub templates.
  • Add support for package metadata.
  • Add support for sandboxed template code execution with hooks.
  • Write documentation for how to create your own templates.