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

Request for new parameter to set user-defined directory #90

Open
shricodev opened this issue Jan 29, 2023 · 0 comments
Open

Request for new parameter to set user-defined directory #90

shricodev opened this issue Jan 29, 2023 · 0 comments

Comments

@shricodev
Copy link

Description:

I would like to request the addition of a new parameter for the program, specifically for setting the directory to a user-defined directory. This would allow users to specify the location to fetch the files rather than being limited to the default directory \tmp. The location should default to /tmp if the user does not specify a location.

Reference:
https://github.com/nexB/fetchcode/blob/master/src/fetchcode/vcs/git.py#L39
https://github.com/nexB/fetchcode/blob/master/src/fetchcode/vcs/__init__.py#L70

The new parameter could be named directory and would be used like so: fetch_via_git/vcs(url, directory="/path/to/directory")

I believe this feature would greatly improve the flexibility and usability of the program for many users. Please let me know if there is any additional information that you need from me. Thank you for your consideration.

keshav-space added a commit that referenced this issue Sep 10, 2024
Replace deprecated macos CI runners
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