浏览代码

Add readme

Neeraj Gupta 1 年之前
父节点
当前提交
018833c543
共有 3 个文件被更改,包括 22 次插入3 次删除
  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