Update extra/docs/README.md
This commit is contained in:
parent
38d4641167
commit
ce32a1c4c5
@ -1,12 +1,14 @@
|
||||
1.
|
||||
|
||||
dl helper
|
||||
|
||||
save to: ` ~/.local/bin/dl `, then ` chmod +x ~/.local/bin/dl `
|
||||
|
||||
current dir
|
||||
` dl 'https://github.com/user/repo/two/blob/main/file.txt' `
|
||||
|
||||
to current dir
|
||||
` ./dl.py 'https://github.com/user/repo/two/blob/main/file.txt' `
|
||||
|
||||
to custom dir
|
||||
` ./dl.py 'https://gitea.example.com/user/repo/two/src/branch/path/file.txt' ~/downloads `
|
||||
custom dir
|
||||
` dl 'https://gitea.example.com/user/repo/two/src/branch/path/file.txt' ~/downloads `
|
||||
|
||||
|
||||
```python3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user