hisabimbola / slack-history-export

A NPM module that allows slack users export their history

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add the option to store the token

c33s opened this issue · comments

having the token stored in a global config file would help to keep the command history safe and clean.

your app should go trough some kind of hierachy, where it search for tokens:

  1. token given via command line
  2. check the environment variable for the token (SLACK_HISTORY_EXPORT_TOKEN)
  3. check the global config file for the token