Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Better api #4

Closed
wants to merge 7 commits into from
Closed

feat: Better api #4

wants to merge 7 commits into from

Conversation

schpet
Copy link
Owner

@schpet schpet commented Feb 13, 2025

  • aider: refactor: Simplify version bumping with new write subcommand
  • aider: feat: Add 'preview' subcommand to preview version bump without changes
  • aider: fix: Resolve indentation and brace issues in main function
  • aider: fix: Update test cases to match new CLI subcommand structure
  • aider: fix: Update test cases to use Command enum fields correctly
  • aider: fix: Remove unused args variable in test
  • aider: docs: Update README with new svbump command syntax and subcommands

This commit updates the test cases to use the new `Command::Write` subcommand structure, removing deprecated fields and adjusting function calls to match the new interface.

Key changes:
- Replace `command: None` with `command: Command::Write`
- Remove `level`, `selector`, `file`, and `preview` top-level fields
- Update function calls to pass arguments directly
- Simplify version bump test logic
@schpet schpet closed this Feb 18, 2025
@schpet schpet deleted the better-api branch February 18, 2025 17:56
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