Skip to content

Releases: Hejsil/zig-clap

zig-clap-0.1.0

17 Jan 14:49
7800f4e
Compare
Choose a tag to compare

The first release of zig-clap.

Added

  • clap.args.Iterator.
    • The common interface for iterating over program arguments.
    • Used by the rest of the library.
  • clap.args.SliceIterator
    • An clap.args.Iterator which just iterates over a slice of strings.
  • clap.args.OsIterator
    • An clap.args.Iterator which wraps std.os.ArgIterator
    • It iterates over the program arguments the most memory efficient way on each platform.
  • clap.StreamingClap
    • A streaming argument parser. which, given a slice of parameters can parse arguments lazily.
    • This parse is used as a backend for other parsers.
  • clap.ComptimeClap
    • A parse which uses reflection to generate an efficient way of querying what parameters have been passed, and their values.
  • clap.help, clap.helpEx and clap.helpFull
    • Functions for pretty printing parameters.