This is managed by NX. To list all the projects over here do nx show projects
. Still everything is to early to show but its something.
To start create a new github project using the project template on Github and install the CLI with
npm i -g @marble-seeds/seeds
To create a new task do:
seeds task:create TASK_NAME
Task names usually are MODULE:ACTION like stocks:getPrice
seeds task:run TASK_NAME --param value
Example
seeds task:run stocks:getDelta --ticker="BRK-B" --startDate "2024-01-10" --endDate
"2024-03-20"
Create a test for your task can be done with
seeds task:createTest TASK_NAME
This will add a fixture from the last execution to your test
seeds task:createTest TASK_NAME
Aftet that do npm test
to run the text based on the fixtures that you have saves
seeds task:list
seeds runner:create RUNNER_NAME
seeds runner:run RUNNER_NAME --param value
seeds runner:list RUNNER_NAME
Will provide current seeds version
seeds info
Will create a seeds.json file. This file is needed on the root of the project. Will describe available tasks, runners and paths on the repo.
seeds init