W3cubDocs

/Pony

_OptionParser

[Source]

primitive val _OptionParser

Constructors

create

[Source]

new val create()
: _OptionParser val^

Returns

Public Functions

parse

[Source]

fun box parse(
  spec: OptionSpec val,
  targ: (String val | None val),
  args: Array[String val] ref)
: (Option val | SyntaxError val)

Parameters

Returns

eq

[Source]

fun box eq(
  that: _OptionParser val)
: Bool val

Parameters

Returns

ne

[Source]

fun box ne(
  that: _OptionParser val)
: Bool val

Parameters

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/cli-_OptionParser