Add a command to "import" a file into a context
josegonzalez opened this issue · 2 comments
It would be great to have something like:
fling --src-dir grabbit import filename
This would be a shortcut for:
# move the file to the specified src-dir
mv $HOME/filename grabbit/filename
# link the file
fling --src-dir grabbit link
At the moment, I have a makefile that sorta lets me automate this, but having it be a fling-native command would be amazing :)
Hi @josegonzalez ! I completely agree, that would be a super nice feature.
Unfortunately, I don't know when I'll have the time/motivation to add it. My limited side project dev time is pretty much prioritized by whatever idea excites me that day, and I make GitHub issues to track other ideas for later.
I would like this feature, so I'll leave this issue open and work on it "at some point". Also happy to review a PR if you want to add it. I'll commit to reviewing a PR for this within a week of you opening it, if you decide to make one (I loathe when maintainers straight up ignore issues/PRs forever, so I don't wanna do that 😁).
No worries! I think I'll try my hand at this soon since I want the functionality :)