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

Change CLI arguments to a config file #7

Open
3 tasks
ilija-lazoroski opened this issue Jul 19, 2024 · 0 comments
Open
3 tasks

Change CLI arguments to a config file #7

ilija-lazoroski opened this issue Jul 19, 2024 · 0 comments

Comments

@ilija-lazoroski
Copy link
Collaborator

Description

Since this tool uses CLI arguments to do a lot of things we should probably move to a config file which will be specified in the plugin's directories. That config file will need to be configured per plugin and the only command to run will be build_agent_plugin .. We didn't do that in the first place because we thought that the first thing anyone will look at will be CLI arguments to configure.

Tasks

  • Create AgentPluginOptions pydantic model with needed fields ( same as we have for CLI arguments )
  • Read plugin's build.{yaml, yml} and validate it to AgentPluginOptions
  • Use those options everywhere where needed
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

No branches or pull requests

1 participant