diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | cmd/eduvpn-cli/main.go (renamed from cmd/cli/main.go) | 0 | ||||
| -rw-r--r-- | docs/md/building-client.md | 12 |
3 files changed, 3 insertions, 11 deletions
@@ -15,7 +15,7 @@ lint: golangci-lint run -E stylecheck,revive,gocritic ./... cli: - go build -o eduvpn-common-cli ./cmd/cli + go build ./cmd/eduvpn-cli docs: mkdocs build -f docs/mkdocs.yml diff --git a/cmd/cli/main.go b/cmd/eduvpn-cli/main.go index 263f55c..263f55c 100644 --- a/cmd/cli/main.go +++ b/cmd/eduvpn-cli/main.go diff --git a/docs/md/building-client.md b/docs/md/building-client.md index 77c4eaf..6eaf116 100644 --- a/docs/md/building-client.md +++ b/docs/md/building-client.md @@ -72,16 +72,8 @@ The rest of the states are miscellaneous states, meaning that the client can han This chapter contains code examples that use the API ### Go command line client -The following is an example [in the repository](https://codeberg.org/eduVPN/eduvpn-common/src/branch/main/cmd/cli/main.go). It is a command line client with the following flags -``` - -get-custom string - The url of a custom server to connect to - -get-institute string - The url of an institute to connect to - -get-secure string - Gets secure internet servers -``` +The following is an example [in the repository](https://codeberg.org/eduVPN/eduvpn-common/src/branch/main/cmd/eduvpn-cli/main.go). It is a command line client. ```go -{{!cmd/cli/main.go!}} +{{!cmd/eduvpn-cli/main.go!}} ``` |
