bigslicecmd

package
v0.0.0-...-30c4c12 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package bigslicecmd provides the core functionality of the bigslice command as a package for easier integration into external toolchains and setups. The expected use is that the bigslice run and build commands are common to all users of bigslice, but the 'setup-ec2' class of commands are specific.

Index

Constants

View Source
const BuildUsage = `` /* 639-byte string literal not displayed */

BuildUsage is the usage message for the Build command.

View Source
const RunUsage = `` /* 146-byte string literal not displayed */

RunUsage is the usage message for the Run command.

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context, paths []string, output string) string

Build builds the bigslice binary and writes it out to specified output filename, if that string is empty then a suitable name is computed and returned.

func Init

func Init() (err error)

Init initializes the bigslicecmd package.

func Run

func Run(ctx context.Context, args []string)

Run executes the supplied arguments as a subprocess. If no arguments are supplied, Build(ctx, ".") is used to build the current package and run that.

Types

This section is empty.

Jump to

Keyboard shortcuts

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