dotbot icon indicating copy to clipboard operation
dotbot copied to clipboard

Question : Linking file from web

Open grzesuav opened this issue 2 years ago • 1 comments

HI,

I would like to link/download external file - i.e. https://raw.githubusercontent.com/Azure/azure-cli/dev/az.completion - locally, to use in completions.

What would be best way to do it ?

grzesuav avatar Jul 01 '22 10:07 grzesuav

A couple options:

  • If you always want the latest one, you can add a shell: command and use wget or another tool to download it.
  • You can copy it to your local repository, and then link it with link:.
  • You can clone that as a submodule, and then link it with link:. It might be slightly easier to keep it up-to-date this way.

anishathalye avatar Jul 01 '22 16:07 anishathalye

Closing due to inactivity. If you have any other questions, feel free to reopen.

anishathalye avatar Dec 17 '22 20:12 anishathalye