anishathalye / anishathalye/dotbot

`if` with shell function satisfying interface

Open
#333 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8k
Forks
320
PR merge metrics
No merged PRs in 30d

Description

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
}'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.