A command-line interface for the FreeAgent accounting API, built with Swift.
Manage your invoices, bills, expenses, bank accounts, contacts and more — directly from the terminal.
brew install dinoconstantinou87/tap/freeagentSign in at dev.freeagent.com, create a new app, and note your OAuth app ID, secret, and redirect URI.
$ freeagent setup
$ freeagent auth loginsetup saves your OAuth credentials to ~/.freeagent/config.json. login opens your browser for authorization — tokens are stored securely in the macOS Keychain.
Use --help on any command to explore its subcommands, flags and accepted values:
$ freeagent --help
$ freeagent invoice list --helpThe API client is auto-generated from an OpenAPI specification using swift-openapi-generator:
make generate # bundle OpenAPI spec and regenerate Swift client
make build # build the project
make help # see all available targets