前提・実現したいこと
こちらの記事を参考にSlackのエクスポート(プライベートチャンネルを含む)を行おうとしています.
記事に記載の通り,Go言語(macOS)のインストールとslack-dump(slack-dump-v1.1.3-darwin-386.tar.gz)のダウンロードを行いました.
さっそくslack-dumpというUNIX実行ファイルをターミナルで開いてみたのですが,以下のような表示がされ,ターミナルが即落ちしてしまいます.
.bash_profileを削除してみましたが,状況は変わりませんでした.原因や,正しい実行方法など,ご助言いただけるとたいへん助かります.
ターミナルの表示
ERROR: the token flag is required... NAME: slack-dump - export channel and group history to the Slack export format include Direct message USAGE: slack-dump [global options] command [command options] [arguments...] VERSION: 1.1.3 AUTHORS: Joe Fitzgerald <jfitzgerald@pivotal.io> Sunyong Lim <dicebattle@gmail.com> Yoshihiro Misawa <myoshi321go@gmail.com> COMMANDS: help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --token value, -t value a Slack API token: (see: https://api.slack.com/web) [$SLACK_API_TOKEN] --output value, -o value Output directory path. Default: current directory path --help, -h show help --version, -v print the version logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [プロセスが完了しました]
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/12/20 03:42
2018/12/20 03:46