Skip to content

fix: Windows testing broken#422

Merged
maxandersen merged 1 commit intojbangdev:masterfrom
quintesse:fix_421
Oct 11, 2020
Merged

fix: Windows testing broken#422
maxandersen merged 1 commit intojbangdev:masterfrom
quintesse:fix_421

Conversation

@quintesse
Copy link
Copy Markdown
Contributor

The jbang.cmd script wasn't handling the creation
of temp files correctly. Also the *nix verion of
the script wasn't properly detecting runing on
Cygwin anymore either. Both are now fixed.

Fixes: #421

The jbang.cmd script wasn't handling the creation
of temp files correctly. Also the *nix verion of
the script wasn't properly detecting runing on
Cygwin anymore either. And finally the `build`
command was returning the wrong exit code.

Fixes: jbangdev#421
@maxandersen maxandersen merged commit 379c3be into jbangdev:master Oct 11, 2020
@quintesse quintesse deleted the fix_421 branch February 4, 2021 00:14
stalep added a commit to stalep/jbang that referenced this pull request Apr 29, 2026
Migrate jbang's CLI framework from picocli to aesh, leveraging aesh's
compile-time annotation processor to eliminate runtime reflection and
improve startup performance.

Key changes:
- Replace all picocli annotations (@command, @option, @parameters) with
  aesh equivalents (@CommandDefinition, @GroupCommandDefinition, @option,
  @argument, @arguments, @OptionList, @OptionGroup, @mixin)
- Convert Callable<Integer> commands to Command<CommandInvocation> with
  CommandResult return type
- Port custom type converters, parameter consumers, and preprocessors to
  aesh Converter and OptionParser interfaces
- Implement external plugin command discovery in help output
- Add default value provider using aesh's post-parse processing
- Wire mutual exclusion validation via aesh's exclusiveWith
- Restore version checking, dynamic completion, option aliases, negatable
  options, and grouped help sections
- Regenerate native-image configuration for aesh
- Update tests for aesh CLI parsing

Performance (vs picocli, median):
- Native image: 6ms vs 33ms (5.5x faster) for single commands
- JDK 25: 109ms vs 228ms (2.1x faster)
- JDK 11: 149ms vs 269ms (1.8x faster)

Picks up fixes for inherited option propagation (jbangdev#421) and
@OptionGroup keys without values (jbangdev#422).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

windows testing broken since ps1 introduced

2 participants