A command-line tool to store and retrieve code snippets from the cloud.
npm install grimoire-cliA command-line tool to store and retrieve code snippets from the cloud.
``bash`
npm install -g grimoire-cli
On Linux/macOS, you may need to use sudo:
`bash`
sudo npm install -g grimoire-cli
Or use it directly without installing:
`bash`
npx grimoire-cli
After installation, use the grim command:
`bash`
grim
Save a new code snippet to the cloud:
`bash`
grim add
You will be prompted to enter a title and paste your code.
Search for a snippet by title and copy it to your clipboard:
`bash`
grim get
Example:
`bash`
grim get express-boiler
Download all your snippets to a local backup.json file:
`bash`
grim download
`bashSave a code snippet to the cloud!!!
grim add
``
- Node.js 18 or higher
ISC