Skip to content

graflo.cli.main

The graflo command: one umbrella over the verbs.

The package shipped ten flat console scripts (ingest, migrate_schema, plot_manifest, …) with no shared entry point, so there was nowhere for a git-shaped verb to live -- graflo commit had no graflo to hang off.

This group is that entry point. Existing scripts keep working exactly as they did: they are still declared in pyproject.toml and are mounted here as subcommands, so ingest ... and graflo ingest ... are the same code. New verbs are added here only.

Functions:

graflo()

Source code in graflo/cli/main.py
@click.group(context_settings={"help_option_names": ["-h", "--help"]})
@click.version_option(package_name="graflo")
def graflo() -> None:
    """GraFlo: declare, evolve and version a graph world model."""