GH-PREVIEW-PROMPTER(1) GitHub CLI manual GH-PREVIEW-PROMPTER(1)

# [NAME](#NAME)

gh-preview-prompter - Execute a test program to preview the prompter

# [SYNOPSIS](#SYNOPSIS)

**gh preview prompter \[prompt type] \[flags]**

# [DESCRIPTION](#DESCRIPTION)

Execute a test program to preview the prompter. Without an argument, all prompts will be run.

Available prompt types: - select - multi-select - multi-select-with-search - input - password - confirm - auth-token - confirm-deletion - input-hostname - markdown-editor

# [EXIT CODES](#EXIT_CODES)

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

# [SEE ALSO](#SEE_ALSO)

[**gh-preview(1)**](/man/os/gh/gh-preview.1)

Oct 2026

---

Document: gh-preview-prompter(1) from gh 2.103.2-r0 (Chainguard OS)
Source: https://github.com/cli/cli
