https://github.com/michaelhelmick/onesignal-cli
CLI for interfacing with OneSignal API
https://github.com/michaelhelmick/onesignal-cli
Last synced: 3 months ago
JSON representation
CLI for interfacing with OneSignal API
- Host: GitHub
- URL: https://github.com/michaelhelmick/onesignal-cli
- Owner: michaelhelmick
- Created: 2018-01-05T17:17:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-05T17:20:13.000Z (over 7 years ago)
- Last Synced: 2025-01-30T07:43:16.982Z (5 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OneSignal API CLI
Minimal CLI for interfacing with OneSignal API.
## Installation
`python setup.py install`
## Usage
### Authentication
#### Login
`onesignal login`#### Logout
`onesignal logout`### Interfacing with API
#### Sync Apps
`onesignal sync_apps`#### List Apps
`onesignal list_apps`#### Create App
> Name is required.
`onesignal create_app -n "My App" --gcm_key "abcde12345" --apns_env "production" --apns_p12 ~/Desktop/app.p12`#### Update App
> All arguments optinal.
`onesignal update_app -n "My App" --gcm_key "abcde12345" --apns_env "production" --apns_p12 ~/Desktop/app.p12`#### Help
`onesignal --help`
`onesignal update_app --help`