Add minimum usage for CLI v0.15.x to docs (#1878)

Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
runephilosof-karnovgroup 2023-06-25 23:38:25 +02:00 committed by GitHub
parent a958049485
commit 1fa0212731
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,34 @@
# CLI
TODO
```docker run --rm woodpeckerci/woodpecker-cli:v0.15```
```bash
NAME:
woodpecker-cli - command line utility
USAGE:
woodpecker-cli [global options] command [command options] [arguments...]
VERSION:
v0.15.x
COMMANDS:
build manage pipelines
log manage logs
deploy deploy code
exec execute a pipeline locally
info show information about the current user
registry manage registries
secret manage secrets
repo manage repositories
user manage users
lint lint a pipeline configuration file
log-level get the logging level of the server, or set it with [level]
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--token value, -t value server auth token [$WOODPECKER_TOKEN]
--server value, -s value server address [$WOODPECKER_SERVER]
--log-level value set logging level [$WOODPECKER_LOG_LEVEL]
--help, -h show help (default: false)
--version, -v print the version (default: false)
```