~pepe/michael

Janet creator
958287c1 — Josef Pospíšil 6 months ago
Tune lesson recipe
0228ba33 — Josef Pospíšil 10 months ago
Clean up lesson templates
4e99992a — Josef Pospíšil 10 months ago
Fix lesson more

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~pepe/michael
read/write
git@git.sr.ht:~pepe/michael

You can also use your local clone with git send-email.

#michael

Good Place creator.

CLI tool for creating Good Place projects with Janet language.

#Installation

Michael need to be installed to work properly. Easiest way is through jpm:

jpm install https://git.sr.ht/~pepe/michael

#Usage

For now only two commands are implemented.

#Help

The first is the help, which needs path to the recipe module. It prints configuration options struct. If redirect the stdout to the file, you have good base for your recipe configuration:

mcl help michael/recipes/project > my-project.jdn

This configuration file can be used later when using Michal for generating new projects.

#Generate

The second command is generate (abbreviated gen). It also needs the path to the recipe module as the first argument. After running it reads the stdout for config. Please refer to recipe examples at the bottom.

#Recipes

Only two recipes are known to man right now:

#Project

/michael/recipes/project which generates empty Janet project with the configuration from example file:

mcl generate michael/recipes/project < examples/project.jdn
#Lesson

/michael/recipes/lesson which generates simple SSG, in following case again from the example configuration file:

mcl gen michael/recipes/lesson < examples/lesson.jdn

After issuing one of the commands above, you should be able to cd to the new project.

#Definitely more to come