https://github.com/nickrobinson/square-cli
Square CLI Tool
https://github.com/nickrobinson/square-cli
cli golang square
Last synced: about 1 year ago
JSON representation
Square CLI Tool
- Host: GitHub
- URL: https://github.com/nickrobinson/square-cli
- Owner: nickrobinson
- License: apache-2.0
- Created: 2020-08-17T20:38:48.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-07T10:56:58.000Z (about 3 years ago)
- Last Synced: 2025-04-23T16:23:11.224Z (about 1 year ago)
- Topics: cli, golang, square
- Language: Go
- Homepage: https://nickrobinson.github.io/square-cli/
- Size: 14.4 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Square CLI
[](https://travis-ci.com/nickrobinson/square-cli)

`square` makes all [Square Connect APIs](https://developer.squareup.com/explorer) 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](https://developer.squareup.com/apps/) 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"}'`