...

Package cli

import "github.com/golang-migrate/migrate/v4/internal/cli"
Overview
Index

Overview ▾

func Main

func Main(version string)

Main function of a cli application. It is public for backwards compatibility with `cli` package

type Log

Log represents the logger

type Log struct {
    // contains filtered or unexported fields
}

func (*Log) Printf

func (l *Log) Printf(format string, v ...interface{})

Printf prints out formatted string into a log

func (*Log) Println

func (l *Log) Println(args ...interface{})

Println prints out args into a log

func (*Log) Verbose

func (l *Log) Verbose() bool

Verbose shows if verbose print enabled