summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2025-02-15 22:17:32 +0100
committerJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2025-02-15 22:17:32 +0100
commitd05829c123e68b9c74b836be1f72392e670fa59f (patch)
tree9afc801b90aee2846b31281367fe1bcb9055fb61
parentf308040da5f137afce6f00925ccc8232c462fc67 (diff)
CLI: Move to cmd/eduvpn-cli
-rw-r--r--Makefile2
-rw-r--r--cmd/eduvpn-cli/main.go (renamed from cmd/cli/main.go)0
-rw-r--r--docs/md/building-client.md12
3 files changed, 3 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index a64b72b..350f0bc 100644
--- a/Makefile
+++ b/Makefile
@@ -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!}}
```