From 2819c1d367497f28f01c4735c014b8ccf99d6662 Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Fri, 6 Oct 2023 16:39:50 +0100 Subject: [PATCH] Update docs --- spring-shell-docs/modules/ROOT/nav.adoc | 48 +++++++++---------- .../availability.adoc} | 2 +- .../builtin/clear.adoc} | 0 .../builtin/completion.adoc} | 0 .../builtin/exit.adoc} | 0 .../builtin/help.adoc} | 12 ++--- .../builtin/history.adoc} | 0 .../builtin/index.adoc} | 0 .../builtin/script.adoc} | 0 .../builtin/stacktrace.adoc} | 0 .../builtin/version.adoc} | 0 .../exceptionhandling/annotation.adoc} | 0 .../exceptionhandling/index.adoc} | 0 .../exceptionhandling/mappings.adoc} | 0 .../exceptionhandling/resolving.adoc} | 0 .../helpoptions.adoc} | 0 .../hidden.adoc} | 0 .../index.adoc} | 0 .../interactionmode.adoc} | 0 .../organize.adoc} | 0 .../registration/annotation.adoc} | 0 .../registration/index.adoc} | 4 +- .../registration/legacyannotation.adoc} | 2 +- .../registration/programmatic.adoc} | 2 +- .../writing.adoc} | 0 .../pages/using-shell-basics-reading.adoc | 4 +- .../ROOT/pages/using-shell-completion.adoc | 2 +- 27 files changed, 38 insertions(+), 38 deletions(-) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-availability.adoc => commands/availability.adoc} (98%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-builtin-clear.adoc => commands/builtin/clear.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-builtin-completion.adoc => commands/builtin/completion.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-builtin-exit.adoc => commands/builtin/exit.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-builtin-help.adoc => commands/builtin/help.adoc} (86%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-builtin-history.adoc => commands/builtin/history.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-builtin.adoc => commands/builtin/index.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-builtin-script.adoc => commands/builtin/script.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-builtin-stacktrace.adoc => commands/builtin/stacktrace.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-builtin-version.adoc => commands/builtin/version.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-exceptionhandling-annotation.adoc => commands/exceptionhandling/annotation.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-exceptionhandling.adoc => commands/exceptionhandling/index.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-exceptionhandling-mappings.adoc => commands/exceptionhandling/mappings.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-exceptionhandling-resolving.adoc => commands/exceptionhandling/resolving.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-helpoptions.adoc => commands/helpoptions.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-hidden.adoc => commands/hidden.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands.adoc => commands/index.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-interactionmode.adoc => commands/interactionmode.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-organize.adoc => commands/organize.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-registration-annotation.adoc => commands/registration/annotation.adoc} (100%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-registration.adoc => commands/registration/index.adoc} (78%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-registration-legacyannotation.adoc => commands/registration/legacyannotation.adoc} (97%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-registration-programmatic.adoc => commands/registration/programmatic.adoc} (92%) rename spring-shell-docs/modules/ROOT/pages/{using-shell-commands-writing.adoc => commands/writing.adoc} (100%) diff --git a/spring-shell-docs/modules/ROOT/nav.adoc b/spring-shell-docs/modules/ROOT/nav.adoc index 4b422af7..289a8e20 100644 --- a/spring-shell-docs/modules/ROOT/nav.adoc +++ b/spring-shell-docs/modules/ROOT/nav.adoc @@ -2,30 +2,30 @@ * xref:getting-started.adoc[] * xref:using-shell-basics.adoc[] ** xref:using-shell-basics-reading.adoc[] -* xref:using-shell-commands.adoc[] -** xref:using-shell-commands-registration.adoc[] -** xref:using-shell-commands-registration-programmatic.adoc[] -** xref:using-shell-commands-registration-annotation.adoc[] -** xref:using-shell-commands-registration-legacyannotation.adoc[] -** xref:using-shell-commands-organize.adoc[] -** xref:using-shell-commands-availability.adoc[] -** xref:using-shell-commands-exceptionhandling.adoc[] -*** xref:using-shell-commands-exceptionhandling-resolving.adoc[] -*** xref:using-shell-commands-exceptionhandling-mappings.adoc[] -*** xref:using-shell-commands-exceptionhandling-annotation.adoc[] -** xref:using-shell-commands-hidden.adoc[] -** xref:using-shell-commands-helpoptions.adoc[] -** xref:using-shell-commands-interactionmode.adoc[] -** xref:using-shell-commands-builtin.adoc[] -*** xref:using-shell-commands-builtin-help.adoc[] -*** xref:using-shell-commands-builtin-clear.adoc[] -*** xref:using-shell-commands-builtin-exit.adoc[] -*** xref:using-shell-commands-builtin-stacktrace.adoc[] -*** xref:using-shell-commands-builtin-script.adoc[] -*** xref:using-shell-commands-builtin-history.adoc[] -*** xref:using-shell-commands-builtin-completion.adoc[] -*** xref:using-shell-commands-builtin-version.adoc[] -** xref:using-shell-commands-writing.adoc[] +* xref:commands/index.adoc[] +** xref:commands/registration/index.adoc[] +** xref:commands/registration/programmatic.adoc[] +** xref:commands/registration/annotation.adoc[] +** xref:commands/registration/legacyannotation.adoc[] +** xref:commands/organize.adoc[] +** xref:commands/availability.adoc[] +** xref:commands/exceptionhandling/index.adoc[] +*** xref:commands/exceptionhandling/resolving.adoc[] +*** xref:commands/exceptionhandling/mappings.adoc[] +*** xref:commands/exceptionhandling/annotation.adoc[] +** xref:commands/hidden.adoc[] +** xref:commands/helpoptions.adoc[] +** xref:commands/interactionmode.adoc[] +** xref:commands/builtin/index.adoc[] +*** xref:commands/builtin/help.adoc[] +*** xref:commands/builtin/clear.adoc[] +*** xref:commands/builtin/exit.adoc[] +*** xref:commands/builtin/stacktrace.adoc[] +*** xref:commands/builtin/script.adoc[] +*** xref:commands/builtin/history.adoc[] +*** xref:commands/builtin/completion.adoc[] +*** xref:commands/builtin/version.adoc[] +** xref:commands/writing.adoc[] * xref:options/index.adoc[] ** xref:options/basics/index.adoc[] *** xref:options/basics/programmatic.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-availability.adoc b/spring-shell-docs/modules/ROOT/pages/commands/availability.adoc similarity index 98% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-availability.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/availability.adoc index 7da32cdd..5f96fd4f 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-availability.adoc +++ b/spring-shell-docs/modules/ROOT/pages/commands/availability.adoc @@ -53,7 +53,7 @@ Command 'download' exists but is not currently available because you are not con Details of the error have been omitted. You can use the stacktrace command to print the full stacktrace. ---- -Information about currently unavailable commands is also used in the integrated help. See xref:using-shell-commands-builtin-help.adoc[Help]. +Information about currently unavailable commands is also used in the integrated help. See xref:commands/builtin/help.adoc[Help]. [TIP] ==== diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-clear.adoc b/spring-shell-docs/modules/ROOT/pages/commands/builtin/clear.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-clear.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/builtin/clear.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-completion.adoc b/spring-shell-docs/modules/ROOT/pages/commands/builtin/completion.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-completion.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/builtin/completion.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-exit.adoc b/spring-shell-docs/modules/ROOT/pages/commands/builtin/exit.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-exit.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/builtin/exit.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-help.adoc b/spring-shell-docs/modules/ROOT/pages/commands/builtin/help.adoc similarity index 86% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-help.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/builtin/help.adoc index 7b6735a9..28e87e51 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-help.adoc +++ b/spring-shell-docs/modules/ROOT/pages/commands/builtin/help.adoc @@ -7,7 +7,7 @@ accessing a web browser or any other rich UI application (such as a PDF viewer) be possible. This is why it is important that the shell commands are correctly self-documented, and this is where the `help` command comes in. -Typing `help` + `ENTER` lists all the commands known to the shell (including xref:using-shell-commands-availability.adoc[unavailable] commands) +Typing `help` + `ENTER` lists all the commands known to the shell (including xref:commands/availability.adoc[unavailable] commands) and a short description of what they do, similar to the following: [source, bash] @@ -90,10 +90,10 @@ as a model. |`true` if showing groups is enabled. Otherwise, false. |`groups` -|The commands variables (see xref:using-shell-commands-builtin-help.adoc#groupcommandinfomodel-variables[GroupCommandInfoModel Variables]). +|The commands variables (see xref:commands/builtin/help.adoc#groupcommandinfomodel-variables[GroupCommandInfoModel Variables]). |`commands` -|The commands variables (see xref:using-shell-commands-builtin-help.adoc#commandinfomodel-variables[CommandInfoModel Variables]). +|The commands variables (see xref:commands/builtin/help.adoc#commandinfomodel-variables[CommandInfoModel Variables]). |`hasUnavailableCommands` |`true` if there is unavailable commands. Otherwise, false. @@ -108,7 +108,7 @@ as a model. |The name of a group, if set. Otherwise, empty. |`commands` -|The commands, if set. Otherwise, empty. Type is a multi value, see xref:using-shell-commands-builtin-help.adoc#commandinfomodel-variables[CommandInfoModel Variables]. +|The commands, if set. Otherwise, empty. Type is a multi value, see xref:commands/builtin/help.adoc#commandinfomodel-variables[CommandInfoModel Variables]. |=== [[commandinfomodel-variables]] @@ -129,10 +129,10 @@ as a model. |The description of a command, if set. Otherwise, null. |`parameters` -|The parameters variables, if set. Otherwise empty. Type is a multi value, see xref:using-shell-commands-builtin-help.adoc#commandparameterinfomodel-variables[CommandParameterInfoModel Variables]. +|The parameters variables, if set. Otherwise empty. Type is a multi value, see xref:commands/builtin/help.adoc#commandparameterinfomodel-variables[CommandParameterInfoModel Variables]. |`availability` -|The availability variables (see xref:using-shell-commands-builtin-help.adoc#commandavailabilityinfomodel-variables[CommandAvailabilityInfoModel Variables]). +|The availability variables (see xref:commands/builtin/help.adoc#commandavailabilityinfomodel-variables[CommandAvailabilityInfoModel Variables]). |=== [[commandparameterinfomodel-variables]] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-history.adoc b/spring-shell-docs/modules/ROOT/pages/commands/builtin/history.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-history.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/builtin/history.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin.adoc b/spring-shell-docs/modules/ROOT/pages/commands/builtin/index.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/builtin/index.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-script.adoc b/spring-shell-docs/modules/ROOT/pages/commands/builtin/script.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-script.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/builtin/script.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-stacktrace.adoc b/spring-shell-docs/modules/ROOT/pages/commands/builtin/stacktrace.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-stacktrace.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/builtin/stacktrace.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-version.adoc b/spring-shell-docs/modules/ROOT/pages/commands/builtin/version.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-version.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/builtin/version.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-exceptionhandling-annotation.adoc b/spring-shell-docs/modules/ROOT/pages/commands/exceptionhandling/annotation.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-exceptionhandling-annotation.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/exceptionhandling/annotation.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-exceptionhandling.adoc b/spring-shell-docs/modules/ROOT/pages/commands/exceptionhandling/index.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-exceptionhandling.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/exceptionhandling/index.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-exceptionhandling-mappings.adoc b/spring-shell-docs/modules/ROOT/pages/commands/exceptionhandling/mappings.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-exceptionhandling-mappings.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/exceptionhandling/mappings.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-exceptionhandling-resolving.adoc b/spring-shell-docs/modules/ROOT/pages/commands/exceptionhandling/resolving.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-exceptionhandling-resolving.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/exceptionhandling/resolving.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-helpoptions.adoc b/spring-shell-docs/modules/ROOT/pages/commands/helpoptions.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-helpoptions.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/helpoptions.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-hidden.adoc b/spring-shell-docs/modules/ROOT/pages/commands/hidden.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-hidden.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/hidden.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands.adoc b/spring-shell-docs/modules/ROOT/pages/commands/index.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/index.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-interactionmode.adoc b/spring-shell-docs/modules/ROOT/pages/commands/interactionmode.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-interactionmode.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/interactionmode.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-organize.adoc b/spring-shell-docs/modules/ROOT/pages/commands/organize.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-organize.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/organize.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration-annotation.adoc b/spring-shell-docs/modules/ROOT/pages/commands/registration/annotation.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration-annotation.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/registration/annotation.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration.adoc b/spring-shell-docs/modules/ROOT/pages/commands/registration/index.adoc similarity index 78% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/registration/index.adoc index 9efd25b0..928ce9f4 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration.adoc +++ b/spring-shell-docs/modules/ROOT/pages/commands/registration/index.adoc @@ -11,8 +11,8 @@ In the programmatic model, you use a more low level approach, defining command registrations (either as beans or by dynamically registering with a command catalog). Starting from _3.1.x_ a better support for defining commands using -xref:using-shell-commands-registration-annotation.adoc[annotations] were added. Firstly because eventually standard -package providing xref:using-shell-commands-registration-legacyannotation.adoc[legacy annotations] will get deprecated +xref:commands/registration/annotation.adoc[annotations] were added. Firstly because eventually standard +package providing xref:commands/registration/legacyannotation.adoc[legacy annotations] will get deprecated and removed. Secondly so that we're able to provide same set of features than using underlying `CommandRegistration`. Creating new a annotation model allows us to rethink and modernise that part without breaking existing applications. diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration-legacyannotation.adoc b/spring-shell-docs/modules/ROOT/pages/commands/registration/legacyannotation.adoc similarity index 97% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration-legacyannotation.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/registration/legacyannotation.adoc index b146984a..fe3cf939 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration-legacyannotation.adoc +++ b/spring-shell-docs/modules/ROOT/pages/commands/registration/legacyannotation.adoc @@ -24,7 +24,7 @@ include::{snippets}/AnnotationRegistrationSnippets.java[tag=snippet1] The only required attribute of the `@ShellMethod` annotation is its `value` attribute, which should have a short, one-sentence, description of what the command does. This lets your users -get consistent help about your commands without having to leave the shell (see xref:using-shell-commands-builtin-help.adoc[Help]). +get consistent help about your commands without having to leave the shell (see xref:commands/builtin/help.adoc[Help]). NOTE: The description of your command should be short -- no more than one or two sentences. For better consistency, it should start with a capital letter and end with a period. diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration-programmatic.adoc b/spring-shell-docs/modules/ROOT/pages/commands/registration/programmatic.adoc similarity index 92% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration-programmatic.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/registration/programmatic.adoc index 1e948895..ac67f8b9 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration-programmatic.adoc +++ b/spring-shell-docs/modules/ROOT/pages/commands/registration/programmatic.adoc @@ -17,7 +17,7 @@ be autowired. Default implementation of this supplier returns a new builder so you don't need to worry about its internal state. IMPORTANT: Commands registered programmatically automatically -add _help options_ mentioned in xref:using-shell-commands-helpoptions.adoc[Help Options]. +add _help options_ mentioned in xref:commands/helpoptions.adoc[Help Options]. If bean of this supplier type is defined then auto-configuration will back off giving you an option to redefine default functionality. diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-writing.adoc b/spring-shell-docs/modules/ROOT/pages/commands/writing.adoc similarity index 100% rename from spring-shell-docs/modules/ROOT/pages/using-shell-commands-writing.adoc rename to spring-shell-docs/modules/ROOT/pages/commands/writing.adoc diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-basics-reading.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-basics-reading.adoc index 14526045..a2eadf75 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-basics-reading.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-basics-reading.adoc @@ -5,8 +5,8 @@ Throughout this documentation, we make references to configuring something by using annotations or programmatic examples. -NOTE: There are two annotation models, xref:using-shell-commands-registration-annotation.adoc[annotations] -referred to new annotation model, xref:using-shell-commands-registration-legacyannotation.adoc[legacy annotations] +NOTE: There are two annotation models, xref:commands/registration/annotation.adoc[annotations] +referred to new annotation model, xref:commands/registration/legacyannotation.adoc[legacy annotations] referred to old legacy annotation model. Old legacy annotation model mostly relates to use of `@ShellMethod` and `@ShellOption` and diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-completion.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-completion.adoc index 8d0d4167..e13019c6 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-completion.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-completion.adoc @@ -57,4 +57,4 @@ include::{snippets}/CompletionSnippets.java[tag=anno-method] == Command-Line Command-line completion currently only support _bash_ and is documented -in a built-in `completion` command xref:using-shell-commands-builtin-completion.adoc[Completion]. +in a built-in `completion` command xref:commands/builtin/completion.adoc[Completion].