Updated script, more README, more ignore

This commit is contained in:
Torsten Raudssus 2024-12-03 00:19:26 +01:00
parent de73f80b43
commit b865e9f316
4 changed files with 40 additions and 0 deletions

View file

@ -1 +1,3 @@
plandex
.plandex-*

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.plandex-*

32
README.md Normal file
View file

@ -0,0 +1,32 @@
# Plandex CLI Image
## How To Use
### Args
#### SRV_UID
User ID for the image and so of the data (Default: 1000)
#### SRV_GID
Group ID for the image and so of the data (Default: 1000)
#### SRV_APT_GET_INSTALL
Additional Debian modules installed
### Image Name
```
src.ci/srv/plandex:latest
```
### Install plandex script
Copy plandex script from this git to an appropiate bin directory. Can only be used in directory with .git
```shell
cp plandex /usr/local/bin
plandex help
```

View file

@ -1,4 +1,9 @@
#!/bin/sh
if [ ! -d "$PWD/.git" ]; then
echo "ERROR: The current directory does not contain a .git directory."
exit 1
fi
docker run -it --rm -v$PWD:/app \
src.ci/srv/plandex:latest /usr/local/bin/plandex $@