This part of the documentation describes the snakemake executable. Snakemake is primarily a command-line tool, so the snakemake executable is the primary way to execute, debug, and visualize workflows.
https://github.com/snakemake/snakemake/blob/main/docs/tutorial/bas...