tools

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

README

Mly tools

Installation

git clone https://github.com/viant/mly.git
cd mly/tools/mly
go build
cp mlytool /usr/local/bin

Usage

mly -h
Exporting layers
mlytool -m=discover -s=~/model/ -d=layers.json -o=layers

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discover

func Discover(options *Options) error

func Run

func Run(args []string)

Types

type Options

type Options struct {
	Mode      string `short:"m" long:"mode"  choice:"discover" choice:"run"   description:"mode"`
	SourceURL string `short:"s" long:"src" description:"source location"`
	DestURL   string `short:"d" long:"dest" description:"dest location"`
	Operation string `short:"o" long:"opt" choice:"signature"  choice:"layers"  choice:"config"`
	ConfigURL string `short:"c" long:"config" `
}

func (Options) Validate

func (o Options) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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