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

[core] Refactor Tools and add get-feed Tool #105

Merged
merged 1 commit into from
Dec 17, 2023

Conversation

ricoberger
Copy link
Member

This commit refactors the existing tools, by moving the tools logic to a new tools.ts file, so that the main cmd.ts file remains clear.

Besides that we also add a new tool get-feed which can be used to run the getFeed function from the command line. The function is called with a source and returns the generated source and items, as they are saved in the database by the add-source-v1 Supabase edge function.

@ricoberger ricoberger self-assigned this Dec 17, 2023
@ricoberger ricoberger added the changelog: added A new feature was added label Dec 17, 2023
@ricoberger ricoberger added this to the v1.3.0 milestone Dec 17, 2023
@ricoberger ricoberger force-pushed the core-refactor-tools-and-add-get-feed-tool branch 2 times, most recently from 748a739 to 8d86dd5 Compare December 17, 2023 16:39
This commit refactors the existing tools, by moving the tools logic to a
new `tools.ts` file, so that the main `cmd.ts` file remains clear.

Besides that we also add a new tool `get-feed` which can be used to run
the `getFeed` function from the command line. The function is called
with a source and returns the generated source and items, as they are
saved in the database by the `add-source-v1` Supabase edge function.
@ricoberger ricoberger force-pushed the core-refactor-tools-and-add-get-feed-tool branch from 8d86dd5 to 3f49937 Compare December 17, 2023 16:55
@ricoberger ricoberger merged commit 1cb58e1 into main Dec 17, 2023
10 checks passed
@ricoberger ricoberger deleted the core-refactor-tools-and-add-get-feed-tool branch December 17, 2023 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: added A new feature was added
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant