Start and end your workday at Planning Center with this handy little command line tool.
- Post a standup or normal message to your team's Slack channel.
- Update
pco-box
- Update Planning Center apps to latest code
- Handle
pco-box
running locally, or in the ☁ - Handles wip/unwip committing uncommitted work on feature branches, in case you forgot. This helps avoid annoying "Git borked..." messages when updating apps.
- Allows opening/closing additional apps for your workday, e.g. VSCode, Trello, etc.
- Sign off in Slack at the end of your day, and shut down
pco-box
- Latest pco installed
- Clone this repo to the location of your choice
bin/setup
- (Optional)
bundle exec rake install:local
You can obtain a Slack API token here.
And add this to something like ~/.secrets
that's NOT included in your public dotfiles repo. 😉 Make sure ~/.secrets
is source
-ed by your .bashrc
or .zshrc
.
export SLACK_API_TOKEN=MY_API_TOKEN
We'll assume that you've install the gem locally, and use the included binary workday
. If you haven't installed the gem, simply replace workday
with ./exe/workday
.
Starting your work day is EzPz:
workday start
And ending it is, too:
workday end
Check out the help for more info on options:
workday help
- Make this thing a gem instead of a hand-rolled joby
- Use TTY components everywhere. Implement a base clase to inherit from like the TTY Command class.
- Implement a
bin/setup
andbin/console
- Implement a DEBUG mode
- Post all Slack messages to @YOURSELF
- Quiet
command
output normally, show all of it with--debug
- What else?
- Offer the option to handle pco-box in the ☁
- Implement adding apps to AdditionalApps thru the Config interface
- Keep config items alpha-sorted
- Use magic predicate methods on options, e.g.
options.debug?
- Investigate using Thor::Group to handle series of tasks
- Make sure working branch is up on github and offer to WIP commit and push up uncommitted work when ending the day
- Add tests