From 21c27dcd5ad5ef4259aa97e0af0962f3737984fc Mon Sep 17 00:00:00 2001 From: cli-docs-bot Date: Wed, 5 Aug 2026 21:16:56 +0000 Subject: [PATCH] Update master CLI reference docs for v2.5.0-rc.0.104.gd267815 Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- content/cli/master/command-reference.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/content/cli/master/command-reference.md b/content/cli/master/command-reference.md index 1a00e6bb4..5d1247ce3 100644 --- a/content/cli/master/command-reference.md +++ b/content/cli/master/command-reference.md @@ -11,7 +11,7 @@ description: "Command reference for the Crossplane CLI" -This documentation is for the `crossplane` CLI `v2.5.0-rc.0.50.gcf03c1d`. +This documentation is for the `crossplane` CLI `v2.5.0-rc.0.104.gd267815`. @@ -561,6 +561,21 @@ Enable alpha commands: crossplane config set features.enableAlpha true ``` +Generate GetX/SetX accessor methods on generated Go models (off by default), so +you can reach generated resources through interfaces and generics: + +```shell +crossplane config set features.generateGoModelAccessors true +``` + +Generate `runtime.Object` methods and per-package `AddToScheme` helpers on +generated Go models (off by default), so you can register generated types with a +`runtime.Scheme`: + +```shell +crossplane config set features.generateGoRuntimeObjects true +``` + ### Usage ``` @@ -2802,6 +2817,7 @@ crossplane xrd generate [flags] |------------|-----------|-------------| | | `--from="xr"` | Input format: xr or simpleschema. | | | `--path=STRING` | Output path. | +| | `--replace` | Replaces the existing definition file | | | `--plural=STRING` | Custom plural form for the XRD. | | `-f` | `--project-file="crossplane-project.yaml"` | Path to project definition. | {{< /table >}}