| Crates.io | snipt-cli |
| lib.rs | snipt-cli |
| version | 0.1.1 |
| created_at | 2025-05-08 12:46:50.19858+00 |
| updated_at | 2025-05-08 13:39:09.443197+00 |
| description | Command-line interface for the Snipt application |
| homepage | |
| repository | https://github.com/snipt/snipt |
| max_upload_size | |
| id | 1665302 |
| size | 80,195 |
This crate provides the command-line interface for snipt, a text snippet expansion tool. It handles user commands for managing snippets, controlling the daemon, and launching the UI.
snipt: Launch the interactive TUI where you can manage all snippets and settingssnipt add: Add a new text snippetsnipt delete: Delete a text snippetsnipt update: Update an existing snippetsnipt new: Add a new snippet interactivelysnipt start: Start the daemon and API serversnipt stop: Stop the snipt daemonsnipt status: Check daemon statussnipt list: Display all snippets in a TUIsnipt serve: Start just the API serversnipt port: Show the API server portsnipt api-status: Check API server healthsnipt api-diagnose: Diagnose API server issuesThis crate integrates with other snipt components:
snipt-core: Core functionality for snippet managementsnipt-daemon: Daemon process that listens for keyboard eventssnipt-server: HTTP API server for the Electron UIsnipt-ui: Terminal user interface componentsUse cargo run to start the CLI in development mode. For usage examples, run cargo run -- --help.