Skip to content

frontends.cli

The trudag CLI frontend.

main

main(
    ctx: Context,
    verbose: bool,
    workers: int | None,
    needs: bool,
    config_file: Path | None = None,
) -> None

Manipulate, analyze and present the contents of a Trustable Acyclic Graph.

Parameters:

Name Type Description Default
ctx Context

Context to append and pass to subcommands

required
verbose bool

Set logging level to DEBUG

required
workers int

Set the upperbound for spawning worker threads

required
needs bool

Whether to operate on needs graph instead of main graph.

required