From fae900d0595267e07c7a7f7d3975c29ffbc677bf Mon Sep 17 00:00:00 2001 From: Edoardo La Greca Date: Mon, 18 Mar 2024 10:53:27 +0100 Subject: [PATCH] reorder paragraphs and add "Building from source" section --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d65595e..9c5b8fd 100644 --- a/README.md +++ b/README.md @@ -20,17 +20,27 @@ To generate the credentials file refer to ["Authentication with service accounts ## The `dovelet` tool +The `dovelet` executable binary is a command-line tool to interface with the Google Cloud Vision API. + ### Installation -The `dovelet` executable binary is a command-line tool to interface with the Google Cloud Vision API. +#### Using `go install` ```sh go install github.com/EdoardoLaGreca/dovelet/cmd/dovelet@latest ``` +#### Building from source + +```sh +git clone https://github.com/EdoardoLaGreca/dovelet +cd dovelet +go build ./cmd/dovelet # or: go install ./cmd/dovelet +``` + ### Usage -Use the `dovelet` tool to make requests. The syntax is as follows. +Use the `dovelet` command to make requests. The syntax is as follows. ```sh dovelet -text [ -lang l1,l2,... ] files ...