CommandHelp
CommandHelp encapsulates the information needed to generate a user help message for a given CommandSpec, optionally with a specific command identified to print help about. Use Help.general() or Help.for_command() to create a CommandHelp instance.
class box CommandHelp
Общедоступные функции
fullname
fun box fullname() : String val
Возвращает
- Строка val
string
fun box string() : String val
Возвращает
- Строка val
help_string
Отображает сообщение справки в виде строки.
fun box help_string() : String val
Возвращает
- Строка val
print_help
Выводит сообщение справки в поток вывода.
fun box print_help( os: OutStream tag) : None val
Параметры
- os: Поток вывода тег
Возвращает
- None val
© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/cli-CommandHelp