prompts

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: BSD-3-Clause Imports: 5 Imported by: 4

Documentation

Overview

Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.

Index

Constants

View Source
const (
	Yes = "Yes"
	No  = "No"
)

Variables

This section is empty.

Functions

func CaptureAddress

func CaptureAddress(promptStr string) (common.Address, error)

func CaptureExistingFilepath

func CaptureExistingFilepath(promptStr string) (string, error)

func CaptureIndex

func CaptureIndex(promptStr string, options []common.Address) (int, error)

func CaptureList

func CaptureList(promptStr string, options []string) (string, error)

func CaptureNoYes

func CaptureNoYes(promptStr string) (bool, error)

func CapturePositiveBigInt

func CapturePositiveBigInt(promptStr string) (*big.Int, error)

func CaptureString

func CaptureString(promptStr string) (string, error)

func CaptureYesNo

func CaptureYesNo(promptStr string) (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