package
3.0.259+incompatible
Repository: https://github.com/aliyun/aliyun-cli.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DistanceForMatrix reads the edit distance off the given Levenshtein matrix.
DistanceForStrings returns the edit distance between source and target.
EditScriptForMatrix returns an optimal edit script based on the given Levenshtein matrix.
EditScriptForStrings returns an optimal edit script to turn source into target.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LogMatrix writes a visual representation of the given matrix for the given strings to os.Stderr.
MatrixForStrings generates a 2-D array representing the dynamic programming table used by the Levenshtein algorithm, as described e.g.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RatioForMatrix returns the Levenshtein ratio for the given matrix.
RatioForStrings returns the Levenshtein ratio for the given strings.
SplitStringWithPrefix TODO can use function string.SplitN to replace.
WriteMatrix writes a visual representation of the given matrix for the given strings to the given writer.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Black.
Blue.
Cyan.
Green.
Black.
Blue.
Cyan.
Green.
Purple.
Red.
White.
Yellow.
Black.
Blue.
Purple.
Red.
White.
Yellow.
Reset Color.
Cyan.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Green.
Black.
Blue.
Cyan.
Green.
No description provided by the author
No description provided by the author
Purple.
Red.
White.
Yellow.
No description provided by the author
No description provided by the author
Black.
Blue.
Cyan.
Green.
Black.
Blue.
Cyan.
Green.
Purple.
Red.
White.
Yellow.
Purple.
Red.
White.
Yellow.
Purple.
Red.
No description provided by the author
Black.
Blue.
Cyan.
Green.
Purple.
Red.
White.
Yellow.
No description provided by the author
White.
Yellow.
# Variables
DefaultOptions is the default options: insertion cost is 1, deletion cost is 1, substitution cost is 2, and two runes match iff they are the same.
This variable is replaced in compile time `-ldflags "-X 'github.com/aliyun/aliyun-cli/cli.Version=${VERSION}'"`.
# Structs
No description provided by the author
No description provided by the author
CLI Command Context.
No description provided by the author
No description provided by the author
No description provided by the author
OUTPUT: Error: "'%s' is not a valid command
{Hint}.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
helper class for Suggester.
# Interfaces
If command.Execute return Noticeable error, print i18n Notice under error information.
error with suggestions.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author