Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 days ago
JSON representation

A node CLI tool for publishing to Apple News

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 `