Skip to content

🌊 seali¤

A does-one-thing-well library for building CLIs.

  • Zero dependencies;
  • Subcommands;
  • Fish completions;
  • Elegant --help messages (with line-breaks, tab-stops, and ANSI escape codes);
  • Tiny day-to-day API: seali.{command, group, Doc, Style}.

This exists because I wanted ✨pretty help text✨ beyond what any other CLI library supports.

Installation¤

pip install seali

Example¤

import seali

@seali.command
def my_program(pos: str, /, *, someflag: bool = False):
    ...

if __name__ == "__main__":
    my_program()
python this_file.py foobar --someflag