Tuckr icon indicating copy to clipboard operation
Tuckr copied to clipboard

tuckr add silently fails

Open tortis opened this issue 1 year ago • 1 comments

I love the idea of this tool, and I'm excited to try it out.

A few of my configs failed to install because I didn't properly cleanup the links from stow. That's fine, but I was very surprised that the tuckr add command gives no indication of a failure. Is this intended?

image

Even when I try adding a nonsensical name for which no directory exists, I still get no error message.

$ tuckr --version
tuckr 0.8.1

tortis avatar Mar 03 '24 23:03 tortis

Hey, thanks for trying out my tool.
What you reported is a known bug but I just haven't gotten around to fixing it. The symlinking detection and overwriting is slightly bugged right now. I'll fix it soon enough.

When you get a conflicting file you can either overwrite them with tuckr add -f <conflicted_dotfile> or you can do tuckr status <conflicted_dotfile> and manually resolve the conflict yourself (you can fix the desktop conflict by removing it for now).

As for using a name for a dotfile that doesn't exist erroring out silently, I just haven't added an error message for that yet (I will do that). I wrote this tool for my own usage at first (and still use it often) so I just haven't gotten the chance to improve the experience for other users as I'm the only user (as far as I'm aware).

RaphGL avatar Mar 04 '24 13:03 RaphGL