diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -32,7 +32,9 @@ dborg/ │ │ ├── usrsx.go # Username check types │ │ └── x.go # Twitter/X types │ └── utils/ # Utility functions -│ └── output.go # Output formatting helpers +│ ├── output.go # Output formatting helpers +│ ├── version.go # Version checking and auto-update +│ └── version_test.go # Version utility tests ├── go.mod ├── go.sum ├── main.go @@ -43,7 +45,7 @@ dborg/ ## Installation ```bash -go install +go install git.db.org.ai/dborg ``` To build with admin commands: @@ -58,6 +60,19 @@ Or: go build -tags admin -o dborg . ``` +### Auto-Update + +The CLI automatically checks for updates on startup. When a newer version is available: +- You'll be prompted to update +- Accepts with `Y` or `Enter` to install the latest version via `go install git.db.org.ai/dborg` +- The binary automatically restarts with the new version +- Skip with `n` to continue with your current version + +Check your current version: +```bash +dborg version +``` + ## Configuration Set your API key: |
