Updated script, more README, more ignore
This commit is contained in:
parent
de73f80b43
commit
b865e9f316
4 changed files with 40 additions and 0 deletions
|
@ -1 +1,3 @@
|
|||
plandex
|
||||
.plandex-*
|
||||
|
||||
|
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.plandex-*
|
32
README.md
Normal file
32
README.md
Normal 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
|
||||
```
|
5
plandex
5
plandex
|
@ -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 $@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue