Search documentation

Find a page in the Andurel docs.

packages

andurel packages lists or updates Andurel pkg/* module versions in go.mod.

1andurel packages list --json
2andurel packages update
3andurel packages update storage inertia kiks
4andurel packages update --dry-run --json

List

1andurel packages list --json
 1{
 2  "ok": true,
 3  "data": {
 4    "action": "list",
 5    "packages": [
 6      {
 7        "name": "email",
 8        "path": "github.com/mbvlabs/andurel/pkg/email",
 9        "current": "v0.3.3",
10        "latest": "v0.3.3",
11        "status": "current"
12      },
13      {
14        "name": "inertia",
15        "path": "github.com/mbvlabs/andurel/pkg/inertia",
16        "current": "v0.5.0",
17        "latest": "v0.6.0",
18        "status": "outdated"
19      },
20      {
21        "name": "storage",
22        "path": "github.com/mbvlabs/andurel/pkg/storage",
23        "current": "v0.8.0",
24        "latest": "v0.8.0",
25        "status": "current"
26      }
27    ]
28  },
29  "summary": "1 Andurel package has an update available"
30}

Human lines look like:

1  email     v0.3.3          current
2  inertia   v0.5.0 -> v0.6.0  outdated
3  storage   v0.8.0          current

Update

1andurel packages update --dry-run --json
2andurel packages update --json

Dry-run keeps status: outdated without rewriting go.mod. A successful update flips matching entries to status: updated and prints a summary such as Updated 1 Andurel package.

Updating the CLI does not rewrite application imports. andurel.toml / andurel.lock pin tool binaries, not Go modules. Read each package changelog, compile the owning process, and run tests after bumps.

See Framework Packages and Project Lock.