butil

package
v1.1.0-ea1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package butil bin util package will not run the init(), but bin will

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear() error

Clear @experimental it's a try clear the cli app

func GetBasedir

func GetBasedir() string

GetBasedir get the root base Dir

func GetPathDir

func GetPathDir(vPath string) string

GetPathDir the path dir by application same location.

func StringToArgs

func StringToArgs(str string) []string

StringToArgs make the string to bin/Args, it's used in interactive cli

func StringToMultiArgs

func StringToMultiArgs(str string) [][]string

StringToMultiArgs string line parse multi line, support ";" split.

Types

This section is empty.

Jump to

Keyboard shortcuts

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