prompts

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

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 added in v0.1.0

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