Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if with shell function satisfying interface #333

Open
pafi-code opened this issue Mar 1, 2023 · 0 comments
Open

if with shell function satisfying interface #333

pafi-code opened this issue Mar 1, 2023 · 0 comments

Comments

@pafi-code
Copy link

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
        }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant