pyrompt.cli#

Command-line interface for pyrompt.

Simple CLI for managing prompt collections.

Functions

cmd_add(args)

Add a prompt to a collection.

cmd_engines(args)

List available template engines.

cmd_list(args)

List prompts in a collection.

cmd_new(args)

Create a new collection.

cmd_render(args)

Render a template.

cmd_show(args)

Show a specific prompt.

cmd_stats(args)

Show collection statistics.

main()

Main CLI entry point.

pyrompt.cli.cmd_add(args)[source]#

Add a prompt to a collection.

pyrompt.cli.cmd_engines(args)[source]#

List available template engines.

pyrompt.cli.cmd_list(args)[source]#

List prompts in a collection.

pyrompt.cli.cmd_new(args)[source]#

Create a new collection.

pyrompt.cli.cmd_render(args)[source]#

Render a template.

pyrompt.cli.cmd_show(args)[source]#

Show a specific prompt.

pyrompt.cli.cmd_stats(args)[source]#

Show collection statistics.

pyrompt.cli.main()[source]#

Main CLI entry point.