Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sonots/pastel-cli
cli tool for pastel https://github.com/bobpp/pastel
https://github.com/sonots/pastel-cli
Last synced: about 2 months ago
JSON representation
cli tool for pastel https://github.com/bobpp/pastel
- Host: GitHub
- URL: https://github.com/sonots/pastel-cli
- Owner: sonots
- Created: 2015-02-09T04:51:43.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-09T06:01:40.000Z (almost 10 years ago)
- Last Synced: 2024-10-13T08:08:43.169Z (3 months ago)
- Language: Perl
- Size: 143 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pastel-cli
cli tool for patel ([bobpp/pastel](https://github.com/bobpp/pastel) or [sonots/go-pastel](https://github.com/sonots/go-pastel))
# How to use
1) Post to pastel
$ cat /path/to/file | pastel-cli http://your.pastel.name
#=> http://your.pastel.name/memos/e5c4db3459a13d0b07da7435b0956bc304d2b82d2) Get from pastel
$ pastel-cli http://your.pastel.name/memos/e5c4db3459a13d0b07da7435b0956bc304d2b82d
#=> contents# Tips
Define `$PASTEL_BASE_URL` in the code to omit typing pastel base url on post command:
```perl
my $PASTEL_BASE_URL = 'http://your.pastel.name';
```1) Post to pastel
$ cat /path/to/file | pastel-cli
# License
MIT License