open_url for opening non-git files
See original GitHub issueThere is get and get-url in cli, get-url can download files that are not necessary in dvc or git repo.
And there is only open in dvc.api. It would be nice to have open_url, which operates like get-url
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Add Open With to URL files in Windows 10 - Winaero
Here is how you can add the Open with context menu to URL files in Windows 10. Ready-to-use Registry files are included to...
Read more >How to easily open files and URLs from the command line
Here's how to open files or URLs from the command line, on lots of different platforms (Windows, MacOS, Linux/Unix, and Cygwin).
Read more >How to make one single .url open with a specific browser ...
It should be by right-clicking Desktop > New > Shortcut > enter the format as "C:\Program Files\Mozilla Firefox\firefox.exe" ...
Read more >Open `file://` links with `app.openURL` - Drafts Community
Basically, I trying to write a Script Action that is supposed which should open a link to a local file on Mac, e.g....
Read more >Open URLs, files, folders, or google text under the ... - GitHub
Open URL. Description. Quickly open files, folders, web URLs or other URLs from anywhere in Sublime Text. Install. Look for Open URL using...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This seems related to a proposal from @efiop in https://github.com/iterative/dvc/issues/6494#issuecomment-906600254. If we make it so that
dvc getcan get either a repo file or any other URL, we could do something similar in the API.@pared I already tried to use
api.get_urlbefore I read it’s docs 😃 @efiop not sure. My case is that I know I have a file that is stored with dvc, but I only have it’s url (not to actual file on dvc remote). Andapi.openis tied to repo, so I need to extract it from my url somehow. Andget-urlseems to already have the same logic (if the file is there, download it, if not, do the dvc magic and get it from remote)