# cmd_command_prompt_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-command-prompt.c#L41
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-variable-cmd_command_prompt_entry/

tmux command: [`command-prompt`](/en/tmux/latest/manual/command-prompt/)

```c
const struct cmd_entry cmd_command_prompt_entry = {
    .name = "command-prompt",
    .alias = NULL,

    .args = { "1CbeFiklI:Np:t:T:", 0, 1, cmd_command_prompt_args_parse },
    .usage = "[-1CbeFiklN] [-I inputs] [-p prompts] " "[-t target-client]" 
         " [-T prompt-type] [template]",

    .flags = 0x10 ,
    .exec = cmd_command_prompt_exec
};
```

## Other function references

- [`cmd_command_prompt_args_parse`](/en/tmux/latest/reference/c-function-cmd-command-prompt-c-cmd_command_prompt_args_parse/) (function)
- [`cmd_command_prompt_exec`](/en/tmux/latest/reference/c-function-cmd-command-prompt-c-cmd_command_prompt_exec/) (function)

## Referenced declarations

- [`args`](/en/tmux/latest/reference/c-struct-args/) (struct)
- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`cmd_entry`](/en/tmux/latest/reference/c-struct-cmd_entry/) (struct)
