Skip to main content

easy notification command on terminal using push7

Project description

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

pip install push7-cmd

Setup

First, you should add a push7 application into push7-cmd.

push7 applications add 'your_appno' 'your_apikey'
push7 applications list
push7 applications use 'your_appno'

Usage

# Send a push from stdin
push7 < a.txt

# Send a push from stdin
echo 'notification' | push7

a-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

push7 applications list
push7 applications delete <appno>
push7 applications add <appno> <apikey>
push7 applications use <appno>
push7 --title title --body body

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for push7-cmd, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size push7_cmd-0.0.2-py2.py3-none-any.whl (7.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size push7_cmd-0.0.2.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page