Documentation
¶
Overview ¶
Package cli is the outermost layer: it parses arguments, calls the domain and storage packages, and owns every line printed to the terminal.
The layers below never print and never call os.Exit. That is why App takes its working directory and its two writers as fields — a test can run a whole command against a temporary directory and read back exactly what a user would have seen.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0.5.0"
Version is stamped at build time with -ldflags "-X github.com/SergeyLubivui-dev/devtree/internal/cli.Version=v1.2.3".
The default is what a plain `go build` reports, so it tracks the last release rather than sitting at whatever the first one happened to be.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.