From 1fa021273126ddf2700a8dea0a3e990ede344a90 Mon Sep 17 00:00:00 2001 From: runephilosof-karnovgroup <101270124+runephilosof-karnovgroup@users.noreply.github.com> Date: Sun, 25 Jun 2023 23:38:25 +0200 Subject: [PATCH] Add minimum usage for CLI v0.15.x to docs (#1878) Co-authored-by: 6543 <6543@obermui.de> --- docs/versioned_docs/version-0.15/40-cli.md | 33 +++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/docs/versioned_docs/version-0.15/40-cli.md b/docs/versioned_docs/version-0.15/40-cli.md index 343c5c676..ca62a6bbc 100644 --- a/docs/versioned_docs/version-0.15/40-cli.md +++ b/docs/versioned_docs/version-0.15/40-cli.md @@ -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) +```