Skip to main content

Module interactive

Module interactive 

Source

Functionsยง

edit_body_in_editor
Open initial in an external editor; returns None when the result is empty.
missing_title_usage
prompt_title
resolve_editor_command
Resolve the editor executable: $VISUAL, then $EDITOR, then config editor.
resolve_editor_from_env_and_config
resolve_optional_body
Resolve an optional comment/issue body: use --body/-m when present; on a TTY open $EDITOR (prefilled with prefill); non-TTY without body is a usage error.
should_run_interactive_create
True when the user omitted --title and did not use --fill (PR only).
stdin_is_tty