Initial upload: Local LLM Prompt Manager CLI tool
This commit is contained in:
33
src/cli.py
Normal file
33
src/cli.py
Normal file
@@ -0,0 +1,33 @@
|
||||
"""Main CLI entry point."""
|
||||
|
||||
import click
|
||||
|
||||
from .commands.commit import generate_commit
|
||||
from .commands.config import config_cmd
|
||||
from .commands.export import export_prompts
|
||||
from .commands.import_cmd import import_prompts
|
||||
from .commands.prompt import prompt_cmd
|
||||
from .commands.run import run_prompt, search_prompts
|
||||
from .commands.tag import tag_cmd
|
||||
|
||||
|
||||
@click.group()
|
||||
def main():
|
||||
"""Local LLM Prompt Manager - Manage, organize, and share your LLM prompts."""
|
||||
pass
|
||||
|
||||
|
||||
main.add_command(prompt_cmd, "prompt")
|
||||
main.add_command(prompt_cmd, "prompts")
|
||||
main.add_command(tag_cmd, "tag")
|
||||
main.add_command(tag_cmd, "tags")
|
||||
main.add_command(run_prompt, "run")
|
||||
main.add_command(search_prompts, "search")
|
||||
main.add_command(generate_commit, "commit")
|
||||
main.add_command(export_prompts, "export")
|
||||
main.add_command(import_prompts, "import")
|
||||
main.add_command(config_cmd, "config")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user