clio

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package clio abstracts common command-line I/O patterns.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadYAML

func LoadYAML[T any](filename string) (*T, error)

LoadYAML unmarshals YAML (or JSON) from a file into the given type. It treats the filename "-" as a special placeholder meaning to use stdin.

Types

This section is empty.

Jump to

Keyboard shortcuts

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