common

package
v0.0.0-...-6e8ef18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package common provides prompts functions for btpeer_manager commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextualPrompt

func ContextualPrompt(ctx context.Context, message string) (string, error)

func PromptForString

func PromptForString(ctx context.Context, message string, defaultAnswer string) (string, error)

func PromptYesNo

func PromptYesNo(ctx context.Context, message string, defaultAnswer bool) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL