Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dhcgn committed Dec 14, 2019
1 parent 1b938f9 commit fde777a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ https://dl.equinox.io/dhcgn/gitlabfiledownloader/stable

## Using

```
```plain
GitLabDownloader_windows_amd64.exe -h
Version: 0.0.0
Usage of GitLabDownloader_windows_amd64.exe:
-branch string
Branch (default "master")
-outPath string
Path to write the file (default "my_file.json")
Path to write file to disk
-projectNumber int
Url to Api v4
The Project ID from your project
-reproFilePath string
gitLabFilePathInReproPtr (default "my_config.json")
File path in repro, like src/main.go
-token string
Private-Token (default "xxxxxxxxxxxxxxxxxxxx")
Private-Token with access right for api and read_repository
-url string
Url to Api v4 (default "https://my-git-lap-server.local/api/v4/")
Url to Api v4, like https://my-git-lab-server.local/api/v4/
```

## Use Case
Expand All @@ -35,5 +35,5 @@ With this (windows and linux) tool you can now download theses config files from
The file will be **only** replaced if the hash is different (from disk to git).

```bat
GitLabDownloader_windows_amd64_1.0.0.exe -reproFilePath myconfig.xml -outPath c:\App\myconfig.xml -projectNumber 547 -url https://my-git-server.com/api/v4/ -token jd32dwEH2FS42342Sdf32
gitlabfiledownloader.exe -reproFilePath myconfig.xml -outPath c:\App\myconfig.xml -projectNumber 547 -url https://gitlab.com/api/v4/ -token jd32dwEH2FS42342Sdf32
```

0 comments on commit fde777a

Please sign in to comment.