util

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: Apache-2.0, BSD-3-Clause, MIT Imports: 7 Imported by: 0

Documentation

Overview

Package util supports the go-config-yourself commands and CLI

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKeyArguments

func GetKeyArguments(ctx *cli.Context) (args map[string]interface{})

GetKeyArguments reads arguments from the command line and parses them into flags

func KeyFlags

func KeyFlags() (flags []cli.Flag)

KeyFlags returns a list of cli flags for key-related operations

func SerializeAndWrite

func SerializeAndWrite(path string, cfg *file.ConfigFile) (err error)

SerializeAndWrite a config file to disk

Types

This section is empty.

Jump to

Keyboard shortcuts

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