anishathalye / dotbot

A tool that bootstraps your dotfiles ⚡️

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`if` with shell function satisfying interface

pafi-code opened this issue · comments

commented

Is there the possibility to make dot files optional via user input?
If I'm right currently there is no option to ask for user input in the if flag right? If yes please let me know how to do it! :)
Would be cool if one could put a function for the if flag, e.g.

-link:
  ~/.something:
    path: configs/somewhere
    if: 'checkUserInput() {
          # get user input
          # if input yes return true
          # else false
        }'