Depends on #37 after which I will rebase on this branch and mark ready for merge.
Added api.test that checks whether Slack API is online and sane
Testing api.test at program start
Added auth.test (with "t" and "test" aliases) that checks whether current workspace's token is valid and prints user and workspace info. It also supports --ws|--workspace <WS> to check token for instead
Testing auth.test at program start
When inputting via --init then workspace is checked to be unique from known ones, and each token is tested using auth.test before accepted
Depends on #37 after which I will rebase on this branch and mark ready for merge.
api.test
that checks whether Slack API is online and saneapi.test
at program startauth.test
(with "t" and "test" aliases) that checks whether current workspace's token is valid and prints user and workspace info. It also supports--ws|--workspace <WS>
to check token for insteadauth.test
at program start--init
then workspace is checked to be unique from known ones, and each token is tested usingauth.test
before accepted