Docs: make sure shell examples can be copied (#1670)

close #1656

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
This commit is contained in:
Dhanu Saputra
2023-03-25 00:18:14 +07:00
committed by GitHub
parent 3a5e912a6e
commit e9fc5ebd0e
4 changed files with 29 additions and 27 deletions

View File

@@ -115,13 +115,14 @@ Or you can open the test-file inside [VS-Code](#developing-with-vs-code) and run
If you want to run a Woodpecker applications from your terminal you can use one of the following commands from the base of the Woodpecker project. They will execute Woodpecker in a similar way as described in [debugging Woodpecker](#debugging-woodpecker) without the ability to really debug it in your editor.
```bash
# start server
$ go run ./cmd/server
# start agent
$ go run ./cmd/agent
# execute cli command
$ go run ./cmd/cli [command]
```bash title="start server"
go run ./cmd/server
```
```bash title="start agent"
go run ./cmd/agent
```
```bash title="execute cli command"
go run ./cmd/cli [command]
```