Skip to content
dinoconstantinou87Public

About

CLI for the FreeAgent accounting API - manage invoices, bills, expenses, contacts and bank transactions from your terminal.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

FreeAgent CLI

CI Release

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.

freeagent in use

Installation

Homebrew

brew install dinoconstantinou87/tap/freeagent

Getting Started

1. Create A FreeAgent OAuth App

Sign in at dev.freeagent.com, create a new app, and note your OAuth app ID, secret, and redirect URI.

2. Configure And Authenticate

$ freeagent setup
$ freeagent auth login

setup saves your OAuth credentials to ~/.freeagent/config.json. login opens your browser for authorization — tokens are stored securely in the macOS Keychain.

Reference

Use --help on any command to explore its subcommands, flags and accepted values:

$ freeagent --help
$ freeagent invoice list --help

Development

The 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

License

MIT

About

CLI for the FreeAgent accounting API - manage invoices, bills, expenses, contacts and bank transactions from your terminal.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages