CLI Reference

gc login

Login authorizes a new merchants session

Synopsis

With the login command you can authorize directly against the GC CLI or authorize against an app that belongs to you if you are building a partner integration. You can fetch your App ID by selecting the app you choose to use from https://manage-sandbox.gocardless.com/developers/partners and copying the APP ID from the details

gc login [flags]

Examples

# authorise against the Gocardless CLI gc login # authorise against a partner app by providing the App ID gc login --app {APP_ID}

Options

-a, --app string App id to authorize merchant against -h, --help help for login

Options inherited from parent commands

--config string config file (default is $HOME/.gc-cli/config.json)

SEE ALSO

  • gc - A CLI to help you integrate GoCardless with your application
Need help?