feat: add payee and category create commands - #48
Open
chiptus wants to merge 2 commits into
Open
Conversation
… docs (stephendolan#47) Add new methods to YnabClient for creating payees and categories, which are now supported by the YNAB SDK 4.4.0. Add corresponding CLI subcommands for creating payees and categories with proper validation. Update documentation to correct the API limitations section, removing incorrect claims about payee and category creation not being supported. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PEB6n8Noc57qoFsNt2dZLQ
chiptus
commented
Aug 10, 2026
| - **utils.ts**: Currency conversion, date formatting, filtering, field selection | ||
| - **errors.ts**: Centralized error handling for YNAB API errors | ||
| - **command-utils.ts**: Shared command helpers | ||
| - **prompts.ts**: Interactive prompts using inquirer |
The YNAB API supports creating category groups, so the remaining docs claim about this limitation is removed as well. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PEB6n8Noc57qoFsNt2dZLQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
payees createandcategories createcommands (supported by the YNAB SDK since v4.4.0), and corrects the API Limitations docs that wrongly claimed payee/category creation is unsupported. Closes #47.