@usefin/plugin-spend
v0.1.0
Published
Spend Management & Expense provider plugins for fin CLI
Readme
@usefin/plugin-spend
Spend Management & Expense provider plugins for the fin CLI. Only supported (GA) providers are exposed (Ramp, Bill Spend Expense). List, get, create, update, delete where the API supports them; use --data '{"key":"value"}' for create/update. Mock fallback when unauthenticated.
Installation
Included when you install the main usefin CLI.
Auth setup
usefin auth:login <provider> then usefin doctor
Usage
Objects: expenses, reports, cards. All commands support list/get; create, update, and delete are available where the provider API supports them. Use --data '{"key":"value"}' for create and update.
| Example |
|--------|
| usefin <provider>:expenses:list --json |
| usefin <provider>:expenses:get <id> |
| usefin <provider>:expenses:create --data '{}' (where supported) |
| usefin <provider>:expenses:update <id> --data '{}' |
| usefin <provider>:expenses:delete <id> |
