Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/a-r-g-v/push7-cmd
An easy notification command on terminal using push7
https://github.com/a-r-g-v/push7-cmd
push7 python3
Last synced: about 1 month ago
JSON representation
An easy notification command on terminal using push7
- Host: GitHub
- URL: https://github.com/a-r-g-v/push7-cmd
- Owner: a-r-g-v
- License: mit
- Created: 2017-12-25T19:02:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-25T23:18:55.000Z (about 7 years ago)
- Last Synced: 2024-12-03T09:08:13.792Z (about 2 months ago)
- Topics: push7, python3
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=========================================
Push7-Cmd
=========================================This command provides a push7 command.
Using this command, you can send a push notification from your terminal to your browser using push7.jp_.Installation
~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: shpip install push7-cmd
..Setup
~~~~~~~~~~~~~~~~~~~~~~
First, you should add a push7 application into push7-cmd... code-block:: sh
push7 applications add 'your_appno' 'your_apikey'
push7 applications list
push7 applications use 'your_appno'
..Usage
~~~~~~~~~~~~~~~~~~~~~
.. code-block:: sh# Send a push from stdin
push7 < a.txt
# Send a push from stdin
echo 'notification' | push7a-time-consuming-command | push7
# Send a push with given title
echo 'notification with given title' | push7 -t 'test push'# Send a push without stdin
push7 --title 'poe' --body 'poe'a-command-will-cause-output-like-a-flood | push7 --body 'finish the command'
# Add new application
push7 applications add 'your_appno' 'your_apikey'# List registed applications
push7 applications list# Delete the application
push7 applications delete 'your_appno'# Change default applicatios
# Default applications means : An application which this command will use when you sent a push.
push7 applications use 'your_appno'
# Help
push7 --help..
All Commands
~~~~~~~~~~~~~~~~~~~~~
.. code-block:: shpush7 applications list
push7 applications delete
push7 applications add
push7 applications use
push7 --title title --body body
.... _push7.jp: https://push7.jp/