Skip to content

Instantly share code, notes, and snippets.

View rtkext's full-sized avatar
🦁

rtkext

🦁
View GitHub Profile
@rtkext
rtkext / result.md
Last active June 20, 2021 01:29
Creating docstring for bash functions

Using colon to create docstrings for functions in a zsh script. If you use bash, it returns only names.

Zsh output

./script.sh

-x   :Running backend cli commands
deploy   :deploy project for work, keys:frontend, backend
fprecommit   :pre-commit
func :Some docstring of func