Categorygithub.com/nickrobinson/square-cli
module
0.0.9
Repository: https://github.com/nickrobinson/square-cli.git
Documentation: pkg.go.dev

# README

Square CLI

Build Status GitHub release (latest by date)

square makes all Square Connect APIs available on the command line.

Getting Started

The fastest way to get started is via our Homebrew tap: brew install nickrobinson/tap/square

Run the following command to initialize the Square CLI. If you haven't done so already, you will need to head over the the Square Developer Dashboard to create a new App, and retrieve your Access Key.

# square init

Usage

  • square init - Initialize Configuration
  • square get customers
  • square get invoices -d location_id=L471AVFQJ8Z7J
  • square delete customers/93Y9K6BQ8WRPV1C45GVMG9JG6M
  • square -e production put customers/93Y9K6BQ8WRPV1C45GVMG9JG6M -d '{"company_name": "Square"}'
  • square -p my-awesome-profile post customers -d '{"given_name": "Jack", "family_name": "Dorsey"}'

# Packages

No description provided by the author
No description provided by the author