We all have a notepad filled with commands that we copy/paste over and over again.
Commit messages lets you do this but more. Write fetch calls to get data and use in your strings, messages and commands.
Write custom logic to tweak the output to your desire.
open the code and run npm run dev in the root dir of the project.
open localhost:3200 and see an unscaffolded app.
If you have no interest in figuring this app out on your own:
- in the code, navigate to the
defaultsfolder - copy/paste the
fetch.tsinto thefetch codeaccordion in the UI - click
add blockin the UI and copy/paste the code from one of the other.tsfiles in the defaults folder into the code section of this new block - open the dev tools and see the console of the code you ran in the fetch code section and see that it doesn't work.
- add secrets to the secrets accordion and make it work.
- see your amazing commands brought to life
in the top of your blocks there is an input. You can add a boolean to your block code to toggle between states.