Search Command
Find code snippets by name or tags with the 'search' command.
search
Use the search
command to locate code snippets in your registry by keyword, tag, or language.
Example
Output Example:
š Search Results:
š Z6sBKkjT - Spinner [typescript]
š J8sCQlkP - SpinnerX [javascript]
š” To install a snippet, use:
Flags
Flag | Description | Example |
---|---|---|
--lang | Filter results by programming language | snippetkit search spinner --lang=typescript |
--tag | Filter results by tag | snippetkit search button --tag=ui |
--limit | Limit the number of search results (defaults to 10) | snippetkit search loader --limit=5 |