Skip to content

Commit 973caf8

Browse files
committed
Version bump 0.3.2
1 parent 14013e9 commit 973caf8

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

README.md

+45
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@ TYPO3:
3030
- Create file stubs from existing FAL informations
3131
- Create TYPO3 backend user
3232

33+
Install
34+
=======
35+
36+
The binary file can be found in the [project releases](./releases/).
37+
38+
```
39+
DOWNLOAD_VERSION=0.3.2
40+
DOWNLOAD_OS=linux
41+
DOWNLOAD_ARCH=x64
42+
43+
wget -O/usr/local/bin/gdt "https://github.com/webdevops/go-devtool/releases/download/${DOWNLOAD_VERSION}/gdt-${DOWNLOAD_OS}-${DOWNLOAD_ARCH}"
44+
chmod +x /usr/local/bin/gdt
45+
```
46+
3347
Help
3448
====
3549

@@ -61,6 +75,35 @@ Available commands:
6175
6276
```
6377

78+
Docker support
79+
==============
80+
81+
Using the parameter ``--docker=configuration`` this commands can be
82+
execued with docker containers. If the container id is passed the
83+
container is used without lookup using eg. `docker-compose`.
84+
85+
**docker-compose:**
86+
87+
*CONTAINER* is the name of the docker-compose container.
88+
89+
| DSN style configuration | Description |
90+
|:--------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------|
91+
| ``compose:CONTAINER`` | Use container with docker-compose in current directory |
92+
| ``compose:CONTAINER;path=/path/to/project`` | Use container with docker-compose in `/path/to/project` directory |
93+
| ``compose:CONTAINER;path=/path/to/project;file=custom-compose-yml`` | Use container with docker-compose in `/path/to/project` directory and `custom-compose.yml` file |
94+
| ``compose:CONTAINER;project-name=foobar`` | Use container with docker-compose in current directory with project name `foobar` |
95+
| ``compose:CONTAINER;host=example.com`` | Use container with docker-compose in current directory with docker host `example.com` |
96+
| ``compose:CONTAINER;env[FOOBAR]=BARFOO`` | Use container with docker-compose in current directory with env var `FOOBAR` set to `BARFOO` |
97+
98+
| Query style configuration | Description |
99+
|:----------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------|
100+
| ``compose://CONTAINER`` | Use container with docker-compose in current directory |
101+
| ``compose://CONTAINER?path=/path/to/project`` | Use container with docker-compose in `/path/to/project` directory |
102+
| ``compose://CONTAINER?path=/path/to/project&file=custom-compose-yml`` | Use container with docker-compose in `/path/to/project` directory and `custom-compose.yml` file |
103+
| ``compose://CONTAINER?project-name=foobar`` | Use container with docker-compose in current directory with project name `foobar` |
104+
| ``compose://CONTAINER?host=example.com`` | Use container with docker-compose in current directory with docker host `example.com` |
105+
| ``compose://CONTAINER?env[FOOBAR]=BARFOO`` | Use container with docker-compose in current directory with env var `FOOBAR` set to `BARFOO` |
106+
64107
Examples
65108
========
66109

@@ -108,3 +151,5 @@ gdt typo3:stubs --docker=081e7bfaada1 typo3 /path/to/typo3/root/
108151
gdt typo3:beuser --docker=081e7bfaada1 typo3
109152

110153
```
154+
155+
Using the parameter ``--docker=configuration`` this commands

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const (
1616
// application informations
1717
Name = "godevtool"
1818
Author = "webdevops.io"
19-
Version = "0.3.1"
19+
Version = "0.3.2"
2020

2121
// self update informations
2222
GithubOrganization = "webdevops"

0 commit comments

Comments
 (0)