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

Initialize Script Command #40

Closed
nathro opened this issue May 4, 2022 · 1 comment
Closed

Initialize Script Command #40

nathro opened this issue May 4, 2022 · 1 comment

Comments

@nathro
Copy link
Owner

nathro commented May 4, 2022

Adding an initialize script command will make getting started a bit easier. Specifically, I want to support a couple things:

  • Set up the config.ini file if not present.
  • Use a data/custom_components.json file to create a custom components module that can contain all components that are desired.

File format:

[
    {
        "component": "batcher",
        "type": "single",
        "module": "autotransform.batcher.single",
        "class": "SingleBatcher",
        "package": "AutoTransform"
    },
    ...
]

The values above would be replaced with the custom component's values (i.e. input if it's an input component).

The initialize script would also pip install the required packages. We could create a schema index like PyPI that would make it easy for share and distribute schemas/components.

@nathro
Copy link
Owner Author

nathro commented May 6, 2022

Also interested in using this to set up the workflow files and stuff to set up the repo.

@nathro nathro closed this as completed May 26, 2022
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