View Source mix magma.text.new (Magma v0.2.0)
A Mix task for generating the concept and artefact prompt documents for a new text.
The first argument is the title of your text, followed by an optional text type. The text type corresponds to the last part of the available text type modules of the form Magma.Matter.Texts.X
. The text type determines the details of the system prompt of the artefact prompts. If no text type is given, a minimal generic system prompt is used which can be refined according to the user's needs.
$ mix magma.text.new "Example User Guide" UserGuide
Command line options
-
--force
- When set, this option allows the task to overwrite existing documents without asking for permission first.
Summary
Functions
Callback implementation for Mix.Task.run/1
.
Functions
Callback implementation for Mix.Task.run/1
.