Spec-Zone.ru › Pony

CommandHelp

[Source]

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

[Source]

fun box fullname()
: String val

Возвращает

  • Строка val

string

[Source]

fun box string()
: String val

Возвращает

  • Строка val

help_string

[Source]

Отображает сообщение справки в виде строки.

fun box help_string()
: String val

Возвращает

  • Строка val

print_help

[Source]

Выводит сообщение справки в поток вывода.

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API