Skip to content

feat: support listing and assigning expense categories#3

Open
mcampo wants to merge 1 commit into
barronlroth:mainfrom
mcampo:feature/categories
Open

feat: support listing and assigning expense categories#3
mcampo wants to merge 1 commit into
barronlroth:mainfrom
mcampo:feature/categories

Conversation

@mcampo
Copy link
Copy Markdown

@mcampo mcampo commented May 16, 2026

Description

This PR adds the ability to categorize expenses when creating them through the CLI, and provides a way to view all available category IDs.

Changes

  • New Command: Added splitwise categories to fetch and list all available parent categories and subcategories from the Splitwise API. Supports both standard table output and JSON.
  • Expense Creation Update: Added a --category <id> flag to the splitwise expenses create command, allowing users to assign an expense to a specific category ID during creation.
  • API Client Updates: Updated the API client to support the /get_categories endpoint and properly format the category_id parameter when creating an expense.
  • Skill Updates: Added category functionality to the skills/splitwise/SKILL.md file.

@mcampo mcampo changed the title feat: support API key authentication via environment variable feat: support listing and assigning expense categories May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant