docs: description required for "Add Extension" in cli (#5573)
This commit is contained in:
@@ -9,6 +9,7 @@ interface EnvVar {
|
||||
|
||||
interface CLIExtensionInstructionsProps {
|
||||
name: string;
|
||||
description: string;
|
||||
type?: 'stdio' | 'sse' | 'http';
|
||||
command?: string; // Only for stdio
|
||||
url?: string; // For both sse and http
|
||||
@@ -19,6 +20,7 @@ interface CLIExtensionInstructionsProps {
|
||||
|
||||
export default function CLIExtensionInstructions({
|
||||
name,
|
||||
description,
|
||||
type = 'stdio',
|
||||
command,
|
||||
url,
|
||||
@@ -169,7 +171,7 @@ ${
|
||||
└`}</CodeBlock>
|
||||
|
||||
<ol start={6}>
|
||||
<li>Choose to add a description. If you select <code>No</code>, Goose will skip it.</li>
|
||||
<li>Enter a description for this extension.</li>
|
||||
</ol>
|
||||
<CodeBlock language="sh">{`┌ goose-configure
|
||||
│
|
||||
@@ -191,8 +193,8 @@ ${
|
||||
│ ${timeout}
|
||||
│
|
||||
// highlight-start
|
||||
◆ Would you like to add a description?
|
||||
│ No
|
||||
◆ Enter a description for this extension:
|
||||
│ ${description}
|
||||
// highlight-end
|
||||
└`}</CodeBlock>
|
||||
|
||||
@@ -200,8 +202,8 @@ ${
|
||||
<li>
|
||||
{hasEnvVars
|
||||
? isHttp
|
||||
? <>Add custom header{envVars.length > 1 ? 's' : ''} for {name}.</>
|
||||
: <>Add environment variable{envVars.length > 1 ? 's' : ''} for {name}.</>
|
||||
? <>Add {envVars.length > 1 ? 'custom headers' : 'a custom header'} for this extension.</>
|
||||
: <>Add {envVars.length > 1 ? 'environment variables' : 'an environment variable'} for this extension.</>
|
||||
: isHttp
|
||||
? <>Choose <code>No</code> when asked to add custom headers.</>
|
||||
: <>Choose <code>No</code> when asked to add environment variables.</>
|
||||
@@ -229,8 +231,8 @@ ${
|
||||
◇ Please set the timeout for this tool (in secs):
|
||||
│ ${timeout}
|
||||
│
|
||||
◇ Would you like to add a description?
|
||||
│ No
|
||||
◇ Enter a description for this extension:
|
||||
│ ${description}
|
||||
│
|
||||
// highlight-start
|
||||
◆ ${lastStepText}
|
||||
@@ -270,8 +272,8 @@ ${
|
||||
◇ Please set the timeout for this tool (in secs):
|
||||
│ ${timeout}
|
||||
│
|
||||
◇ Would you like to add a description?
|
||||
│ No
|
||||
◇ Enter a description for this extension:
|
||||
│ ${description}
|
||||
│
|
||||
// highlight-start
|
||||
◆ ${lastStepText}
|
||||
|
||||
@@ -124,7 +124,7 @@ export default function GooseDesktopInstaller({
|
||||
<li>
|
||||
<a href={buildGooseUrl()}>Launch the installer</a>
|
||||
</li>
|
||||
<li>Click <code>OK</code> to confirm the installation</li>
|
||||
<li>Click <code>Yes</code> to confirm the installation</li>
|
||||
{shouldShowConfigurationSteps && (
|
||||
<>
|
||||
<li>{step3Content}</li>
|
||||
|
||||
Reference in New Issue
Block a user