CLI guide
GitHub

source-coop CLI

The command line for Source Cooperative. Use it to:

All commands work the same way:

This guide is also a website, with a page for each section and docs for each release, plus next for what's on main and not yet released: https://cli.source.coop/.

The demos in this guide use a stand-in for the API with made-up records (demo-org, demo-user), and a made-up session where they show you signed in. They show production's addresses (source.coop, data.source.coop), but demo-org and demo-user don't exist there.

Quick start

# sign in through your browser, once
source-coop auth login

# an account's products
source-coop product list my-org

# asks for each value a new product needs
source-coop product create

# after you add the AWS profile (below)
aws s3 ls s3://my-org/my-data --profile source-coop

source-coop --help lists the commands. source-coop <command> --help lists the flags of a command, with examples.

source-coop: an account's products, one product, then as --json

Contents