libify

package module
v0.0.0-...-aed8fdf Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: BSD-3-Clause, MIT Imports: 17 Imported by: 0

README

Build Status Documentation Go Report Card codecov stability-experimental

Libify

Convert any Go command line app to a library.

I've only just started working on this package, so it does nothing useful yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAllPackages

func LoadAllPackages(ctx context.Context, path, dir string, tests bool, filter func(string) bool) ([]string, error)

func Main

func Main(ctx context.Context, options Options) error

Types

type Options

type Options struct {
	Path     string
	RootPath string
	RootDir  string
	Out      io.Writer
	Tests    bool
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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