A command line interface for dontpad.com
Dontpad CLI is a command line interface for writing and sharing notes direct from your console.
To get yourself Dontpad CLI, follow these simple steps.
NodeJS and npm are required to install Dontpad CLI.
You download node and npm here.
After installation run:
npm install npm@latest -g
For update npm.
- Install the package
npm install --global dontpad-cli
- Check the installation
dontpad --version
You should see the version on console.
To read all the commands and options simple run:
dontpad --help
Command | Description | Usage |
---|---|---|
Empty command, append text to a repository | dontpad 'text' [args] | |
get | Read information from a repository and prints on terminal | dontpad get [args] |
Option | Description | Default |
---|---|---|
--help | Show help | None |
--version | Show version | None |
-r or --repository | Specify the dontpad repository | System user name |
-s or --separator | Specify a string separator between appends | \n |
-o or --overwrite | Overwrite all content in the repository | false |
-c or --copy | Copy the last line from the repository to the clipboard (only disponible with get command) | false |
Distributed under the MIT License. See LICENSE
for more information.
Allan Braun - allanvobraun@gmail.com
Project Link: https://github.com/allanvobraun/dontpad-CLI
NPM Link: https://www.npmjs.com/package/dontpad-cli
- Mum
- Matheus Bertho for features ideas
- Willian Ferreira for js help