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

Create a SKILL build command #45

Open
7 tasks
curtisma opened this issue Mar 13, 2023 · 0 comments
Open
7 tasks

Create a SKILL build command #45

curtisma opened this issue Mar 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@curtisma
Copy link
Contributor

curtisma commented Mar 13, 2023

Problem Statement

The virtue SKILL code takes a while to load. It also should have a way to include the package metadata in the SKILL code.

Proposed Solution

We will add a "build" command to the virtue CLI to build a SKILL package based on the project metadata contained in a toml file,
A "pyproject.toml" for projects using both SKILL and python or a "skillproject.toml" for projects only using SKILL.

The build command will do the following:

  • 1. Create a SKILL file for loading the project metadata based on the project toml file.
  • 2. Create a context file for the SKILL code to quickly load it. It will load the code based on the skill init file (project.init.ils / project.init.il)
  • 3. Replace the SKILL init file (project.init.ils / project.init.il) with a version that loads the init file.
  • 4. Generate the documentation

Alternatives Considered

Proposed Action Plan

  • 1. Implement the project metadata
  • 2. Build the context file
  • 3. Build the documentation
@curtisma curtisma added the enhancement New feature or request label Mar 13, 2023
@curtisma curtisma changed the title Create SKILL build tool Create a SKILL build command Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant