Add readme

This commit is contained in:
Neeraj Gupta 2023-09-14 13:03:20 +05:30
parent eaf73c2f3f
commit 018833c543
3 changed files with 22 additions and 3 deletions

20
README.md Normal file
View file

@ -0,0 +1,20 @@
# cli tool for exporting ente photos
## Testing
Run the release script to build the binary and run it.
```shell
./release.sh
```
or you can run the following command
```shell
go build -o "bin/ente-cli" main.go
```
```shell
./bin/ente-cli --help
```

View file

@ -1 +0,0 @@
host: https://api.ente.io

View file

@ -24,8 +24,8 @@ do
if [ "$OS" == "darwin" ]; then
BINARY_NAME="ente-cli-mac"
fi
# make bin directory if it doesn't exist
mkdir -p bin
# Build the binary and place it in the "bin" directory
go build -o "bin/$BINARY_NAME" main.go