Add timer support
raphaelkieling opened this issue · 1 comments
raphaelkieling commented
The idea is to give the devs the chance to a timer. We have some options:
- Use something that already exists: https://cuckoo.team
- Create something new like mob did https://timer.mob.sh/
- Create a sync timer inside the current terminal that will make a
devpair next
automatically
For the first version, i do not see a problem on use something that already exists. The important points are:
- Is it something default? If yes, what happens if
cuckoo
deprecate the timer? - Is it something optional? If yes, how make it easy to use and configurable?
Design ideas:
- Using cuckoo directly
main > devpair start --timer-cuckoo
pair/main >
Timer created: https://cuckoo.team/pair-main
Happy contributing :)
- Using cuckoo as an option:
main > export DEVPAIR_TIMER=cuckoo
main > devpair start
pair/main >
Timer created: https://cuckoo.team/pair-main
Happy contributing :)
main > devpair start 10
pair/main >
The timer was created for 10 minutes.
Progress: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇| Done
Next dev.
# make a noise that the pair can hear
- Accept a generic sync timer:
main > devpair timer 10
pair/main >
The timer was created for 10 minutes.
Progress: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇| Done
# make a noise that the pair can hear
Final proposal
WIP
raphaelkieling commented
Added on #2. Create a simple unix timer for now using devpair start <minutes>