- [版本 1.0.0 发布](#version-100-release)
- [简介](#introduction)
- [帮助](#help)
- [作为 Kong 应用程序用户的帮助](#help-as-a-user-of-a-kong-application)
- [在 Kong 中定义帮助](#defining-help-in-kong)
- [命令处理](#command-handling)
- [开启命令字符串](#switch-on-the-command-string)
- [为每个命令添加 `Run(...) error` 方法](#attach-a-run-error-method-to-each-command)
- [钩子: BeforeReset(), BeforeResolve(), BeforeApply(), AfterApply()](#hooks-beforereset-beforeresolve-beforeapply-afterapply)
- [Bind() 选项](#the-bind-option)
- [标志位](#flags)
- [命令和子命令](#commands-and-sub-commands)
- [分支位置参数](#branching-positional-arguments)
- [位置参数](#positional-arguments)
- [切片](#slices)
- [映射](#maps)
- [指针](#pointers)
- [嵌套数据结构](#nested-data-structure)
- [自定义命名解码器](#custom-named-decoders)
- [支持的字段类型](#supported-field-types)
- [自定义解码器(映射器)](#custom-decoders-mappers)
- [支持的标签](#supported-tags)
- [插件](#plugins)
- [动态命令](#dynamic-commands)
- [变量插值](#variable-interpolation)
- [验证](#validation)
- [修改 Kong 的行为](#modifying-kongs-behaviour)
- [`Name(help)` 和 `Description(help)` - 设置应用程序名称描述](#namehelp-and-descriptionhelp---set-the-application-name-description)
- [`Configuration(loader, paths...)` - 从配置文件中加载默认值](#configurationloader-paths---load-defaults-from-configuration-files)
- [`Resolver(...)` - 支持从外部源获取默认值](#resolver---support-for-default-values-from-external-sources)
- [`*Mapper(...)` - 自定义命令行如何映射到 Go 值](#mapper---customising-how-the-command-line-is-mapped-to-go-values)
- [`ConfigureHelp(HelpOptions)` 和 `Help(HelpFunc)` - 自定义帮助](#configurehelphelpoption)