opencode Verified current stable Not installed? Documentation

Opencode / Display Help Export

Display Help Export

Shows detailed help related to export command usage within the CLI.

$
Terminal
opencode export -h

When To Use

When troubleshooting export command issues.

Pro Tip

Use '--include-hidden' to access hidden option documentation, which is often overlooked.

Anatomy of Output

Understanding the result

Usage: opencode export [OPTIONS] Command Syntax

General format for the export command.

Options: List of Options

Details available command options.

--help Show this message and exit. Help Option

Standard flag to access help documentation.

Power User Variants

Optimized versions

opencode export --verbose

Provides additional logging during export.

opencode export --suppress-notifications

Prevents notification prompts during the export.

Troubleshooting

Common pitfalls

Error: Unknown flag --wrong-flag

Solution: Refer to 'opencode export --help' for valid flags.

Missing required parameter

Solution: Ensure all required parameters are supplied.

Error: Can't access resource for exporting

Solution: Verify the service is running and accessible.

Command Breakdown

What each part is doing

opencode
Base Command
The executable that performs this operation. Here it runs Opencode before the shell applies any redirect operators.
-h
h| help
The value supplied for h| help.
-h
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative documentation tools for the same job.