Module debby.scripts.script
Classes
class Script (stage: ScriptStage, path: Optional[pathlib.Path] = None, commands: Sequence[str] = ())-
A script to run at a specific stage of the package's lifecycle.
Class variables
var commands : Sequence[str]-
The commands to run at the given stage.
var path : Optional[pathlib.Path]-
The path to the script to run at the given stage.
var stage : ScriptStage-
The stage of the package's lifecycle to run the script at.
Methods
def create(self, path: pathlib.Path) ‑> None-
Put the script in the given directory.