Skip to content

Add -dump command to export repository contents and update README. #77

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

Merged
merged 1 commit into from
Jan 12, 2025

Conversation

catatsuy
Copy link
Owner

This pull request introduces a new feature to the bento CLI tool, allowing users to export repository contents with the -dump command. The most important changes include updates to the README.md to document the new feature, modifications to the CLI implementation to support the -dump command, and the addition of new tests for the -dump functionality.

Documentation Updates:

  • README.md: Added information about the new -dump command, including usage instructions and examples. [1] [2] [3] [4]

CLI Implementation:

  • internal/cli/cli.go: Added support for the -dump command, including handling repository paths and invoking the RunDump method. [1] [2] [3]
  • internal/cli/dump.go: Implemented the RunDump method to process repository contents, respect .gitignore and .aiignore files, and exclude binary files.

Testing:

Miscellaneous:

  • main.go: Updated the main function to use the new CLI implementation.

@catatsuy catatsuy force-pushed the feature-add-dump-flag branch from 58bd1d1 to 6ae5a67 Compare January 12, 2025 10:35
@catatsuy catatsuy force-pushed the feature-add-dump-flag branch from 6ae5a67 to 88e3863 Compare January 12, 2025 10:42
@catatsuy catatsuy merged commit 7ed90cf into main Jan 12, 2025
6 checks passed
@catatsuy catatsuy deleted the feature-add-dump-flag branch January 12, 2025 10:46
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