0.0.3 • Published 7 years ago

apple-news-cli v0.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Apple News CLI

npm install -g apple-news-cli

List your articles

apple-news search --apiId <your-key> --apiSecret <your-secret> --channelId <your-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:

{
  "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 <your-article-id>

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago