Closed latonita closed 2 years ago
Your reasoning is incorrect. fetch-attachments
does not need a token. Inspect help of both commands:
$ ./slack-advanced-exporter-linux-amd64 fetch-emails --help | grep token
--api-token value Slack API token. Can be obtained here: https://api.slack.com/docs/oauth-test-tokens
$ ./slack-advanced-exporter-linux-amd64 fetch-attachments --help | grep token
Try without token, it just works.
Sorry for the bump, but just noticed that it's --api-token
, not -api-token
? (two dashes instead of one at the beginning).
This is fixed in v0.4.0
./slack-advanced-exporter-windows-amd64.exe --input-archive 0.zip --output-archive 1.zip fetch-emails --api-token $ST
this command works okay, but then./slack-advanced-exporter-windows-amd64.exe --input-archive 1.zip --output-archive 2.zip fetch-attachments --api-token $ST
tells me thatIncorrect Usage: flag provided but not defined: -api-token
$ST
contains token