Ver Fonte

Add readme

Neeraj Gupta há 1 ano atrás
pai
commit
018833c543
3 ficheiros alterados com 22 adições e 3 exclusões
  1. 20 0
      README.md
  2. 0 1
      config.yaml
  3. 2 2
      release.sh

+ 20 - 0
README.md

@@ -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
+```
+

+ 0 - 1
config.yaml

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

+ 2 - 2
release.sh

@@ -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