Skip to content

Releases: inthehack/noshell

noshell-v0.5.0

27 Feb 00:20
76a70f8

Choose a tag to compare

Added

  • [breaking] use closure handler to process commands instead of Command

noshell-v0.4.1

25 Feb 16:07
9490c4a

Choose a tag to compare

Added

  • make command execution asynchronous

noshell-v0.4.0

19 Feb 11:47
ba32963

Choose a tag to compare

Added

  • display error message on unexpected tokens
  • refine error handling and enumeration
  • make console I/O internally mutable
  • clearer handling of error in console
  • better segmentation of error in console
  • add command handler in console
  • expose console as top-level type
  • expose console writer as erased type
  • add console basic implementation
  • make line error comparable
  • capture an error when input is invalid
  • [breaking] return error in case of words splitting fails
  • [breaking] simplify prompt api

Fixed

  • prevent incorrect backtracking in quoted-string parsers

Other

  • fix missing version in local dependencies
  • clean up dependencies
  • enable integration tests only if required feature is set
  • update version constraint on noterm dependency
  • update noterm dependency
  • [breaking] change cmdline module name to line
  • move tests to independent file
  • remove inlining of function
  • use whitespace check from core lib
  • update noterm dependency
  • rename word iterator

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