Repository navigation
Pipes on JDK 22+, doc categories, --sandbox help, README status - #69
Merged
Merged
Conversation
… categories, --sandbox help, README status, development version - Host asks Console.isTerminal() when the JVM has it, so a pipe is not a terminal on 22+. - relix doc --function CATEGORY lists the category's functions (categories from the engine's libraries). - --sandbox help and the command page describe the file and how it combines with the limits. - README status and install section reflect the 0.1.x and 1.0.0-rc releases. - Development builds report 1.0.0-SNAPSHOT rather than 0.1.0-SNAPSHOT.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
System.console()is non-null for piped input there, so the start scripts frominstallDistand the zip treated a pipe as a terminal (ANSI codes in--help | cat, exit 2 onprintf … | relix).Host.terminalasksConsole.isTerminal()when the JVM has it and falls back to "a console exists" on 21;HostTestcovers the three cases.relix doc --function <category>: matches the categories of the installed function libraries, case-insensitively, so a category an engine adds (such asjson) works. The new test runs every category the engine reports.--sandbox: the help text and the command page describe the file (JSON with optionaldeclarationsandlimits) and say that where it and a--max-*option or--timeoutboth set a limit, the smaller applies.1.0.0-SNAPSHOTrather than0.1.0-SNAPSHOT, which sorted below released versions.