Expand description
The command-line interface: the server roles, db, the user CLI and the in-task CLI
(see archive/PROJECT.md, Web UI and CLI; In-task CLI).
Structs§
- Cli
- The
schedrcommand line. - Client
Args - How the user CLI reaches the webserver (credentials are only sent, never validated here).
- Connection
Args schedr task-ctx connection NAME [--env PREFIX | --json].- Field
Arg - A
--field NAMEoption of the in-task CLI: print raw values instead of JSON. - Logs
Args schedr tasks logs ....- Task
Target - The task a
schedr taskscommand acts on.
Enums§
- Cleanup
Command schedr task-ctx cleanup ....- Command
- The top-level commands.
- Connections
Command schedr connections ...(decisions 174, 193, 198-200): run on a worker, through the master.- DagCtx
Command schedr dag-ctx ....- Dags
Command schedr dags ....- DbCommand
schedr db ....- Events
Command schedr events ...(decision 354).- GetCommand
- A
getsubcommand. - Resource
Command schedr task-ctx resource ....- Resources
Command schedr resources ...(decision 340).- Runs
Command schedr runs ....- Secret
Command schedr task-ctx secret ....- Secrets
Command schedr secrets ...: thedbsecret storage (see archive/PROJECT.md, Secret storage). Onlygetprints a value.- Sensors
Command schedr sensors ...(decision 338).- Task
CtxCommand schedr task-ctx ....- Task
Events Command schedr task-ctx events ...: asschedr events, made as the task.- Tasks
Command schedr tasks ....- Triggers
Command schedr triggers ...(decision 340’s reasons: they are not tasks).- Workers
Command schedr workers ....
Functions§
- root_
path - The root a
--dag-pathnames: the path as given (its.components dropped), as the variable’s entries are, so a rename in[dags.roots]matches it; only a path with no name of its own is resolved:.iscwd, and one ending in..its real path on the filesystem (a lexical..would be wrong past a symbolic link; a missing one is left, and refused unnamed).