# README
Square CLI
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 Configurationsquare 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"}'