While working on Glific and thinking about how chatbots work it suddenly stuck to me that if the conversations can be automated why not anything else that I work with.
In every automation, there is always a pattern that emerges and we automate based on that pattern.
Thinking about these patterns and while writing some code I immediately thought of a place where I have patterns in my work.
It was how I started my day with Glific. I noted down the things that I did while starting my work and came out with these:
These things take around 5 minutes and I did these 3 – 4 times a day.
I thought if these are the steps that I need every time while I will work on Glific why not just automate them.
So I created a command with Zsh shell and named it glific. The command runs a script that does these exact things for me every time I run this command.
A quick demo here:
This helped me primarily in these two things:
Some may think that it is just a small amount of time and why take the effort to automate it but if you think about the overall picture, It saves around 10 minutes each day.
“And if you think about time then each second of life is valuable”
Here is the list of commands that I used: