10000 Home · asdf8601/takt Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Maximiliano Greco edited this page Dec 2, 2023 · 1 revision

Welcome to the takt wiki!

Tips

You can extend takt as you wish. Let me show you some examples:

I've created a repo where I put my takt-file and set TAKT_FILE accordingly, and now I created this bash function to track the file with git so I can commit, push and pull.

takt-git() {
  case $1 in
    check)
      takt check
      cd $(dirname $TAKT_FILE)
      git add $TAKT_FILE
      git commit -m "check $(date +%Y-%m-%d)"
      cd -
      ;;
    push)
      cd $(dirname $TAKT_FILE)
      git push
      cd -
      ;;
    pull)
      cd $(dirname $TAKT_FILE)
      git pull
      cd -
      ;;
  esac
}
Clone this wiki locally
0