{"repo":"breadOnLaptop/snipper","free":true,"listed":false,"github":"https://github.com/breadOnLaptop/snipper","clone":"git clone https://github.com/breadOnLaptop/snipper.git","description":"A cargo-style developer tool to save, import, export, edit, and add any type of textual snippets.","language":"C++","stars":33,"topics":["automation","cmake","cpp17","developer-tool","shell-scripting","test-automation"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Snipper Snipper is a powerful, cross-platform, command-line snippet manager built in C++. It helps developers save, search, tag, edit, and manage reusable code snippets (currently using a cargo-style CLI). Features - Add, remove, rename, and edit snippets - Tag support and tag-based listing - Full-text search - Export and import to/from JSON - Snippet ID normalization - Clean CLI experience - Cross-platform support (Windows, Linux, macOS) - Built-in test suite using GoogleTest Adding Snippets (with multiline paste support) Use the interactive snipper add command to add a new snippet. - You'll be prompted to enter ID, Title, Content, and Tags. - For content, you can paste multiline code (like from VS Code, Sublime, etc.). - After pasting, press: - Ctrl+D on Linux/macOS - Ctrl+Z then Enter on Windows to finish content input. Example: Getting Started Prerequisites - CMake = 3.14 - C++17 compatible compiler (MSVC, g++, clang++) - Git - Make or Ninja (Linux/macOS) - PowerShell or CMD (Windows) Clone the repository Build Instructions Windows (PowerShell) Linux / macOS Auto Path Setup After successful build, the CLI binary ( snipper-cli or snipper-cli.exe ) is moved to the scripts/ directory, which is automatically added to your system PATH . You can now use snipper globally from any terminal session. If it does not work immediately, restart your terminal or VS Code. Usage Testing Snipper uses GoogleTest for unit testing. To build and run tests: Or run specific test executables insi","default_branch":null,"files":null,"tree":[],"storefront":"/r/breadOnLaptop","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/breadOnLaptop/snipper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}