Skip to content

Releases: inthehack/noshell

noshell-v0.3.0

26 Jan 23:13

Choose a tag to compare

Added

  • handling of one and many argument values
  • add prompt and readline handling
  • add posix word lexer
  • use iterators while parsing
  • add shell runner (wip)
  • add static command definitions
  • better error handling in proc-macros

Fixed

  • handling of control events in readline (#4)
  • update to follow new parsed arg impl

Other

  • update cargo deps
  • add integration tests with parser
  • fix noterm dependency
  • move library tests to separate module file
  • rename module line by cmdline
  • lint
  • add test for readline
  • add feature request in readme
  • remove redundant pattern matching

noshell-v0.2.0

30 Mar 16:41
d0d1609

Choose a tag to compare

Added

  • add support for flag to id lookup
  • (parser) add get_one and get_many helpers on ParsedArgs
  • (parser) add tokens and values iterators to lexer
  • (macros) add check for short and long flags
  • (macros) add limit arg to noshell attribute
  • (macros) add attribute parser
  • (macros) add multiple option and vec variants of parsers

Fixed

  • (macros) use correct limit for parsed args and arg parsers
  • use idiomatic parser implementations
  • use parser error instead of undefined
  • (parser) improve robustess of token distinction
  • (parser) don't forget to dereference sometimes

Other

  • (macros) clean up noshell limit arg parsing
  • apply code formatting
  • (macros) remove span from attribute

noshell-parser-v0.2.0

30 Mar 16:41
d0d1609

Choose a tag to compare

chore: Release package noshell-parser version 0.2.0

noshell-macros-v0.2.0

30 Mar 16:41
d0d1609

Choose a tag to compare

chore: Release package noshell-macros version 0.2.0

0.1.1

08 Mar 21:48
v0.1.1
85d937a

Choose a tag to compare

First release with minimal implementations.

Added

  • Derive attribute Parser to automatically generate ParsedArgs initializer
  • Lexer for streaming tokens from the command line
  • ParsedArgs to collect arguments from the token stream (i.e. command line)

Fixed

None

Deprecated

None

Removed

None