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

Add a command to "import" a file into a context #4

Open
josegonzalez opened this issue May 10, 2023 · 2 comments
Open

Add a command to "import" a file into a context #4

josegonzalez opened this issue May 10, 2023 · 2 comments

Comments

@josegonzalez
Copy link

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 :)

@bbkane
Copy link
Owner

bbkane commented May 10, 2023

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 😁).

@josegonzalez
Copy link
Author

No worries! I think I'll try my hand at this soon since I want the functionality :)

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

2 participants