You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/reference/commands.adoc
+41Lines changed: 41 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -278,6 +278,47 @@ The command bases each PR on the default branch of the corresponding package rep
278
278
The command requires a GitHub Access token with the 'public_repo' permission, which is required to create PRs on public repositories.
279
279
If you want to manage private repos, the access token may require additional permissions.
280
280
281
+
== Tool List
282
+
283
+
commodore tool list
284
+
285
+
This command lists the version, location and management state of the required external tools.
286
+
287
+
Currently, `helm`, jsonnet-bundler/`jb`, and `kustomize` are required external tools.
288
+
By default, the command also queries the GitHub API to determine the latest available version of each tool and indicates whether an update is available.
289
+
290
+
Optionally, the command accepts a GitHub personal access token (PAT) to avoid running into the fairly strict unauthenticated GitHub rate limits.
291
+
292
+
== Tool Install
293
+
294
+
commodore tool install TOOL
295
+
296
+
Install one of the required tools in `$XDG_CACHE_DIR/commodore/tools`.
297
+
298
+
The command will fail for tools which are already managed by Commodore.
299
+
300
+
By default, the command will install the latest available tool version.
301
+
For `helm` and `kustomize`, the command downloads the official installation scripts and executes them with appropriate arguments.
302
+
For `jb`, the command directly downloads the requested version from the GitHub release page.
303
+
304
+
Optionally, the command accepts a tool version to install.
305
+
The command accepts versions prefixed with "v" and unprefixed versions.
306
+
307
+
== Tool Upgrade
308
+
309
+
commodore tool upgrade TOOL
310
+
311
+
Upgrade (or downgrade) one of the required tools in `$XDG_CACHE_DIR/commodore/tools`.
312
+
313
+
The command will fail for tools which aren't managed by Commodore yet.
314
+
315
+
By default, the command will upgrade the tool to the latest available version.
316
+
For `helm` and `kustomize`, the command downloads the official installation scripts and executes them with appropriate arguments.
317
+
For `jb`, the command directly downloads the requested version from the GitHub release page.
318
+
319
+
Optionally, the command accepts a tool version to upgrade (or downgrade) to.
320
+
The command accepts versions prefixed with "v" and unprefixed versions.
0 commit comments