1.0.7 • Published 6 years ago
@toycode/mastodon-auth-cli v1.0.7
mastodon-auth-cli
CLI program to get access token for Mastodon API.
Installing
npm install @toycode/mastodon-auth-cliUsage
In the following examples configuration-file can be omitted, if omitted, the access token etc. are saved in file: app-config.json.
register app and get access token
mastodon-auth [configuration-file]register app
mastodon-auth -a [configuration-file]get access token
mastodon-auth -t [configuration-file]show Usage
mastodon-auth -hLICENSE
MIT
マストドン API を叩くための アクセストークンを取得するコマンドラインプログラム
インストール
npm install @toycode/mastodon-auth-cli使い方
以下の例で 設定ファイル名 は省略可能です、省略した場合、アクセストークン等は app-config.json に保存されます。
アプリを登録しアクセストークンを得る
mastodon-auth [設定ファイル名]アプリを登録する
mastodon-auth -a [設定ファイル名]アクセストークンを得る
mastodon-auth -t [設定ファイル名]使い方を表示
mastodon-auth -hライセンス
MIT