Comments (2)
if [ -f "${HOME}/.slack" ]; then
token=$(sed -n '1p' < "${etcdir}/.slack")
fi
.. would do it. That would be the default then you could slack init or set an env to override it.
from slack-cli.
This should be possible via make install
as shown here: https://github.com/rockymadden/slack-cli#via-make
You would set the etcdir
to your home directory. Please let me know if this doesn't work and we can reopen.
from slack-cli.
Related Issues (20)
- Error on delete function HOT 3
- Add support for passing token as argument
- allow send message as bot HOT 2
- slack init errors out on my mac HOT 3
- Presence and status changes HOT 1
- Number of unread messages
- Problem formatting piped output
- Feature Request: Add ability to set expire time on statuses HOT 1
- Feature Request: add support for chat.command API call
- Is this project maintained anymore HOT 2
- slack-cli autocomplete
- Is it possible to reply to slack threads? HOT 1
- Feature Request: custom ${bin} HOT 1
- Sending private message HOT 4
- Feature suggestion: Get status and presence
- Feature Request: Add support for threaded conversations
- status clearing HOT 1
- Feature Request: Plaintext messages
- Hanging in pipe friendliness code on Bamboo CI machines HOT 1
- Question: Reading Channels not possible? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slack-cli.