Document the install command
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -45,6 +45,16 @@ root = "~/documents/finances"
|
|||||||
A leading `~` is expanded and relative paths are made absolute. `money config`
|
A leading `~` is expanded and relative paths are made absolute. `money config`
|
||||||
prints the resolved root and which of the four rules chose it.
|
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
|
## Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user