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: https://source-cooperative.github.io/source-coop-cli/.

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

source-coop auth login                        # sign in through your browser, once
source-coop product list my-org               # an account's products
source-coop product create                    # asks for each value a new product needs
aws s3 ls s3://my-org/my-data --profile source-coop   # after you add the AWS profile (below)

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