From 2a2c0c1db90b81de10f0051316dbe6de196588bf Mon Sep 17 00:00:00 2001 From: Nikola Petrov Date: Sun, 9 Aug 2026 23:27:18 +0200 Subject: [PATCH] Document the install command Co-Authored-By: Claude Opus 5 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 71d23d3..f4f0e0e 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,16 @@ root = "~/documents/finances" A leading `~` is expanded and relative paths are made absolute. `money config` prints the resolved root and which of the four rules chose it. +## Install + +``` +go install ./cmd/money +``` + +Give it the package path, not `cmd/money/main.go`. Naming the file puts the go +tool in file mode: it names the binary after the source file (`main`) and +compiles only the files listed, which breaks the moment the package has two. + ## Usage ```