Skip to content

Command Line Interface

pytokei can be used from the console (at least for a subset of the options that tokei offers).

The CLI is built using typer and rich, so it should be self explanatory:

pytokei-help

Only the compact report has been implemented:

pytokei-itself

With options to sort by the different variables, and ignore paths:

pytokei-no-color

For the full detailed CLI you should use tokei directly.