Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yusukeiwaki/appetize-cli
https://github.com/yusukeiwaki/appetize-cli
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yusukeiwaki/appetize-cli
- Owner: YusukeIwaki
- License: apache-2.0
- Created: 2018-05-21T12:50:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-05T03:40:24.000Z (over 6 years ago)
- Last Synced: 2024-10-18T08:18:20.253Z (3 months ago)
- Language: Go
- Size: 60.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![CircleCI](https://circleci.com/gh/YusukeIwaki/appetize-cli.svg?style=svg)](https://circleci.com/gh/YusukeIwaki/appetize-cli)
# (Unofficial) appetize command line tools
[appetize.io](https://appetize.io/) is very useful, and I love it.
Make it more useful with this cli tool :)## Install
### via Homebrew
```
brew tap YusukeIwaki/appetize
brew install appetize
```or simply `brew install YusukeIwaki/appetize/appetize`
### Direct Download
from https://github.com/YusukeIwaki/appetize-cli/releases
## Config (optional)
You can put *default* parameters in `~/.appetize.yml`.
```
api_token: tok_hogehoge
platform: android
```or set enviromental variables as below:
```
APPETIZE_API_TOKEN=tok_hogehoge
```### NOTE
* `platform` and `api_token` can be overridden in executing the appetize command with `--platform` and `--token` parameters.
* appetize.yml can be easily generated with `appetize configure` command :)## Execute
### appetize upload
```
$ appetize upload app-debug.apkPublicKey: 1521kwdbrewp8
Created: 2018-05-23 01:27:55.617 +0000 UTC
Updated: 2018-05-23 01:27:55.617 +0000 UTC
Platform: android
VersionCode: 1
PublicUrl: https://appetize.io/app/1521kwdbrewp8
AppUrl: https://appetize.io/app/1521kwdbrewp8
ManageUrl: https://appetize.io/manage/private_tkmvwt9tf5ag9jc$ appetize upload 1521kwdbrewp8 app-debug.apk
PublicKey: 1521kwdbrewp8
Created: 2018-05-23 01:27:55.617 +0000 UTC
Updated: 2018-05-23 16:24:45.792 +0000 UTC
Platform: android
VersionCode: 2
PublicUrl: https://appetize.io/app/1521kwdbrewp8
AppUrl: https://appetize.io/app/1521kwdbrewp8
ManageUrl: https://appetize.io/manage/private_tkmvwt9tf5ag9jc
```### appetize create
```
$ appetize create https://example.com/files/app-debug.apkPublicKey: 1521kwdbrewp8
Created: 2018-05-23 01:27:55.617 +0000 UTC
Updated: 2018-05-23 01:27:55.617 +0000 UTC
Platform: android
Note:
LaunchUrl:
VersionCode: 1
PublicUrl: https://appetize.io/app/1521kwdbrewp8
AppUrl: https://appetize.io/app/1521kwdbrewp8
ManageUrl: https://appetize.io/manage/private_tkmvwt9tf5ag9jc
```### appetize list
```
$ appetize listdata: 1521kwdbrewp8 2018-05-23 01:27:55.617 +0000 UTC
data: ymnuvqm545gnc 2018-05-23 01:24:57.485 +0000 UTC
data: byxn1f9mpgpwg 2017-10-12 13:23:11.871 +0000 UTC
```### appetize show
```
$ appetize show 1521kwdbrewp8PublicKey: 1521kwdbrewp8
Created: 2018-05-23 01:27:55.617 +0000 UTC
Updated: 2018-05-23 01:27:55.617 +0000 UTC
Disabled: false
Platform: android
VersionCode: 1
Bundle: com.example.helloworld
Name: Hello World
Note:
AppVersionName: 1.0
AppVersionCode: 1
IconUrl: https://s3.amazonaws.com/appetizeio-static/icons/uj027erw8z0q8rgbqutpj82j54_icon.png
ViewUrl: https://appetize.io/app/1521kwdbrewp8
```### appetize update
```
$ appetize update 1521kwdbrewp8 --disabled=true --note=hogehoge --timeout=30PublicKey: 1521kwdbrewp8
Created: 2018-05-23 01:27:55.617 +0000 UTC
Updated: 2018-05-23 16:24:45.792 +0000 UTC
Disabled: true
Timeout: 30
Platform: android
VersionCode: 2
Bundle: com.example.helloworld
Name: Hello World
Note: hogehoge
AppVersionName: 1.0
AppVersionCode: 1
IconUrl: https://s3.amazonaws.com/appetizeio-static/icons/uj027erw8z0q8rgbqutpj82j54_icon.png
ViewUrl: https://appetize.io/app/1521kwdbrewp8
```Note that we have to always set `--disabled=true` for keeping an app disabled.
Appetize API is a little buggy :(### appetize delete
```
$ appetize delete 1521kwdbrewp8 zf98sdbrewp89 byxn1f9mpgpwg1521kwdbrewp8 OK
zf98sdbrewp89 error:App not found
byxn1f9mpgpwg OK
```