https://github.com/bustle/apple-news-cli
A node CLI tool for publishing to Apple News
https://github.com/bustle/apple-news-cli
Last synced: about 2 months ago
JSON representation
A node CLI tool for publishing to Apple News
- Host: GitHub
- URL: https://github.com/bustle/apple-news-cli
- Owner: bustle
- Created: 2017-04-21T18:01:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-29T16:54:45.000Z (about 9 years ago)
- Last Synced: 2025-10-21T23:29:57.566Z (9 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Apple News CLI
`npm install -g apple-news-cli`
### List your articles
`apple-news search --apiId --apiSecret --channelId `
### Using a config file
You can specify all the common parameters via a json config file instead of providing them every time
`apple-news search --config config.json`
Contents of `./config.json`:
``` json
{
"apiId": "foo",
"apiSecret": "bar",
"channelId": "baz"
}
```
### Create
`apple-news create --config config.json --article article.json`
### Update
`apple-news update --config config.json --article article.json --articleId `