output

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Copyright © 2022-2023 Oliver Götz <developer@geekgasm.eu>

Copyright © 2022-2023 Oliver Götz <developer@geekgasm.eu>

Copyright © 2022-2023 Oliver Götz <developer@geekgasm.eu>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyToClipboard

func CopyToClipboard(output string)

func Output added in v0.6.0

func Output(output string, options OutputOptions)

func WriteToFile

func WriteToFile(outputfile string, output string)

Types

type OutputOptions added in v0.6.0

type OutputOptions struct {
	Multiline  bool
	Clipboard  bool
	Stdout     bool
	OutputFile string
}

func GetOutputOptions added in v0.6.0

func GetOutputOptions(flags *pflag.FlagSet) OutputOptions

Jump to

Keyboard shortcuts

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