Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jline support #175

Merged
merged 23 commits into from
Aug 12, 2024
Merged

Jline support #175

merged 23 commits into from
Aug 12, 2024

Conversation

3arthqu4ke
Copy link
Owner

@3arthqu4ke 3arthqu4ke commented Aug 11, 2024

Needs some more testing on Linux and in SSH connections
Closes #109

Copy link

Overall Project 80% -1.9% 🍏
Files changed 84.02% 🍏

File Coverage
CommandCompleter.java 100% 🍏
JLineProperties.java 100% 🍏
MultiCommand.java 100% 🍏
HelpCommand.java 100% 🍏
QuitCommand.java 100% 🍏
MemoryCommand.java 100% 🍏
SystemPropertyHelper.java 100% 🍏
YesNoContext.java 100% 🍏
Command.java 100% 🍏
PasswordCommand.java 100% 🍏
CommandContext.java 100% 🍏
RuntimeProperties.java 100% 🍏
RuntimeInitializer.java 100% 🍏
RuntimeContext.java 100% 🍏
RunnableCommand.java 100% 🍏
TypeCommand.java 100% 🍏
IfCommand.java 100% 🍏
CopyCommand.java 100% 🍏
AbstractRuntimeCommand.java 100% 🍏
PopCommand.java 100% 🍏
HmcProperties.java 100% 🍏
ClAgnosticCommandContext.java 100% 🍏
LoggingService.java 100% 🍏
ClassUtil.java 100% 🍏
SegmentationFault.java 100% 🍏
VM.java 100% 🍏
HeadlessMc.java 100% 🍏
LaunchContext.java 100% 🍏
LauncherProperties.java 100% 🍏
EntryStream.java 100% 🍏
FamilyUtil.java 100% 🍏
QuickExitCliHandler.java 99.22% 🍏
LaunchOptions.java 98.25% 🍏
AbstractClassTransformer.java 97.83% 🍏
SupplierCommand.java 93.2% 🍏
Instrumentation.java 91.51% 🍏
ProcessFactory.java 91.03% -2.29% 🍏
FunctionCommand.java 90.55% 🍏
JLineCommandLineReader.java 90.03% -9.97% 🍏
Main.java 86.5% 🍏
Command.java 85.68% -2.72% 🍏
CommandLineReader.java 85.29% -14.71% 🍏
WhileCommand.java 83.9% 🍏
JavaService.java 83.7% 🍏
CommandLine.java 83.59% -16.41% 🍏
LayeredBootstrapLauncher.java 82.65% 🍏
MethodCommand.java 82.22% 🍏
ResourceExtractor.java 81.69% -18.31%
AbstractVMCommand.java 80.9% 🍏
VersionInfoCache.java 80.35% 🍏
NewCommand.java 79.92% 🍏
DefaultCommandLineProvider.java 79.17% -20.83% 🍏
ApiClassloadingHelper.java 78.5% -21.5% 🍏
FieldCommand.java 78.15% 🍏
ReflectionUtil.java 75.68% -24.32%
ClAgnosticCommand.java 75% -25% 🍏
Main.java 74.26% 🍏
VersionService.java 74.11% 🍏
LoginContext.java 73.08% 🍏
ClassCommand.java 72.93% 🍏
Deencapsulator.java 72.73% -27.27% 🍏
InAndOutProvider.java 72% -28% 🍏
BufferedCommandLineReader.java 72% -28% 🍏
DownloadCommand.java 68.55% -7.66%
LaunchCommand.java 67.65% -7.9%
FindByCommand.java 65.33% -34%
InMemoryLauncher.java 61.31% -1.17% 🍏
AbstractLoginCommand.java 56.06% -1.17% 🍏
ClassHelper.java 51.44% 🍏
HeadlessMcWrapper.java 50% 🍏
HeadlessMcApi.java 50% -50%
AccountManager.java 49.28% -8.27%
RuntimeQuitCommand.java 27.03% 🍏
DumpCommand.java 17.82% 🍏
ConsoleCommandLineReader.java 0%

Copy link

Overall Project 80% -1.9% 🍏
Files changed 84.02% 🍏

File Coverage
CommandCompleter.java 100% 🍏
JLineProperties.java 100% 🍏
MultiCommand.java 100% 🍏
HelpCommand.java 100% 🍏
QuitCommand.java 100% 🍏
MemoryCommand.java 100% 🍏
SystemPropertyHelper.java 100% 🍏
YesNoContext.java 100% 🍏
Command.java 100% 🍏
PasswordCommand.java 100% 🍏
CommandContext.java 100% 🍏
RuntimeProperties.java 100% 🍏
RuntimeInitializer.java 100% 🍏
RuntimeContext.java 100% 🍏
RunnableCommand.java 100% 🍏
TypeCommand.java 100% 🍏
IfCommand.java 100% 🍏
CopyCommand.java 100% 🍏
AbstractRuntimeCommand.java 100% 🍏
PopCommand.java 100% 🍏
HmcProperties.java 100% 🍏
ClAgnosticCommandContext.java 100% 🍏
LoggingService.java 100% 🍏
ClassUtil.java 100% 🍏
SegmentationFault.java 100% 🍏
VM.java 100% 🍏
HeadlessMc.java 100% 🍏
LaunchContext.java 100% 🍏
LauncherProperties.java 100% 🍏
EntryStream.java 100% 🍏
FamilyUtil.java 100% 🍏
QuickExitCliHandler.java 99.22% 🍏
LaunchOptions.java 98.25% 🍏
AbstractClassTransformer.java 97.83% 🍏
SupplierCommand.java 93.2% 🍏
Instrumentation.java 91.51% 🍏
ProcessFactory.java 91.03% -2.29% 🍏
FunctionCommand.java 90.55% 🍏
JLineCommandLineReader.java 90.03% -9.97% 🍏
Main.java 86.5% 🍏
Command.java 85.68% -2.72% 🍏
CommandLineReader.java 85.29% -14.71% 🍏
WhileCommand.java 83.9% 🍏
JavaService.java 83.7% 🍏
CommandLine.java 83.59% -16.41% 🍏
LayeredBootstrapLauncher.java 82.65% 🍏
MethodCommand.java 82.22% 🍏
ResourceExtractor.java 81.69% -18.31%
AbstractVMCommand.java 80.9% 🍏
VersionInfoCache.java 80.35% 🍏
NewCommand.java 79.92% 🍏
DefaultCommandLineProvider.java 79.17% -20.83% 🍏
ApiClassloadingHelper.java 78.5% -21.5% 🍏
FieldCommand.java 78.15% 🍏
ReflectionUtil.java 75.68% -24.32%
ClAgnosticCommand.java 75% -25% 🍏
Main.java 74.26% 🍏
VersionService.java 74.11% 🍏
LoginContext.java 73.08% 🍏
ClassCommand.java 72.93% 🍏
Deencapsulator.java 72.73% -27.27% 🍏
InAndOutProvider.java 72% -28% 🍏
BufferedCommandLineReader.java 72% -28% 🍏
DownloadCommand.java 68.55% -7.66%
LaunchCommand.java 67.65% -7.9%
FindByCommand.java 65.33% -34%
InMemoryLauncher.java 61.31% -1.17% 🍏
AbstractLoginCommand.java 56.06% -1.17% 🍏
ClassHelper.java 51.44% 🍏
HeadlessMcWrapper.java 50% 🍏
HeadlessMcApi.java 50% -50%
AccountManager.java 49.28% -8.27%
RuntimeQuitCommand.java 27.03% 🍏
DumpCommand.java 17.82% 🍏
ConsoleCommandLineReader.java 0%

Copy link

Overall Project 79.91% -1.97% 🍏
Files changed 83.81% 🍏

File Coverage
CommandCompleter.java 100% 🍏
JLineProperties.java 100% 🍏
MultiCommand.java 100% 🍏
HelpCommand.java 100% 🍏
QuitCommand.java 100% 🍏
MemoryCommand.java 100% 🍏
SystemPropertyHelper.java 100% 🍏
YesNoContext.java 100% 🍏
Command.java 100% 🍏
PasswordCommand.java 100% 🍏
AbstractCommand.java 100% 🍏
CommandContext.java 100% 🍏
RuntimeProperties.java 100% 🍏
RuntimeInitializer.java 100% 🍏
RuntimeContext.java 100% 🍏
RunnableCommand.java 100% 🍏
TypeCommand.java 100% 🍏
IfCommand.java 100% 🍏
CopyCommand.java 100% 🍏
AbstractRuntimeCommand.java 100% 🍏
PopCommand.java 100% 🍏
HmcProperties.java 100% 🍏
ClAgnosticCommandContext.java 100% 🍏
LoggingService.java 100% 🍏
ClassUtil.java 100% 🍏
SegmentationFault.java 100% 🍏
VM.java 100% 🍏
HeadlessMc.java 100% 🍏
PluginsCommand.java 100% 🍏
LaunchContext.java 100% 🍏
LauncherProperties.java 100% 🍏
EntryStream.java 100% 🍏
FamilyUtil.java 100% 🍏
QuickExitCliHandler.java 99.22% 🍏
JavaCommand.java 98.89% 🍏
LaunchOptions.java 98.25% 🍏
AbstractClassTransformer.java 97.83% 🍏
OfflineCommand.java 95.74% 🍏
SupplierCommand.java 93.2% 🍏
CommandContextImpl.java 92.81% 🍏
Instrumentation.java 91.51% 🍏
ProcessFactory.java 91.03% -2.29% 🍏
FunctionCommand.java 90.55% 🍏
JLineCommandLineReader.java 90.03% -9.97% 🍏
VersionsCommand.java 87.88% 🍏
Main.java 86.5% 🍏
LoginCommand.java 86.27% 🍏
Command.java 85.68% -2.72% 🍏
CommandLineReader.java 85.29% -14.71% 🍏
WhileCommand.java 83.9% 🍏
JavaService.java 83.7% 🍏
CommandLine.java 83.59% -16.41% 🍏
LayeredBootstrapLauncher.java 82.65% 🍏
MethodCommand.java 82.22% 🍏
ResourceExtractor.java 81.69% -18.31%
AbstractVMCommand.java 80.9% 🍏
VersionInfoCache.java 80.35% 🍏
NewCommand.java 79.92% 🍏
DefaultCommandLineProvider.java 79.17% -20.83% 🍏
ApiClassloadingHelper.java 78.5% -21.5% 🍏
FieldCommand.java 78.15% 🍏
ClAgnosticCommand.java 77.56% -22.44% 🍏
ReflectionUtil.java 75.68% -24.32%
Main.java 74.26% 🍏
VersionService.java 74.11% 🍏
LoginContext.java 73.08% 🍏
ClassCommand.java 72.93% 🍏
Deencapsulator.java 72.73% -27.27% 🍏
InAndOutProvider.java 72% -28% 🍏
BufferedCommandLineReader.java 72% -28% 🍏
DownloadCommand.java 68.67% -7.63%
ForgeCommand.java 68.66% 🍏
LaunchCommand.java 67.65% -7.9%
FindByCommand.java 65.33% -34%
LogLevelCommand.java 63.39% 🍏
InMemoryLauncher.java 61.31% -1.17% 🍏
AbstractLoginCommand.java 56.06% -1.17% 🍏
JsonCommand.java 55.84% 🍏
ClassHelper.java 51.44% 🍏
HeadlessMcWrapper.java 50% 🍏
HeadlessMcApi.java 50% -50%
AccountManager.java 49.28% -8.27%
SpecificsCommand.java 43.98% 🍏
RuntimeQuitCommand.java 25% -22.5%
DumpCommand.java 17.82% 🍏
ConfigCommand.java 14.12% -4.71%
AccountsCommand.java 9.52% -3.81%
ConsoleCommandLineReader.java 0%

Copy link

Overall Project 79.92% -1.99% 🍏
Files changed 83.63% 🍏

File Coverage
CommandCompleter.java 100% 🍏
JLineProperties.java 100% 🍏
MultiCommand.java 100% 🍏
HelpCommand.java 100% 🍏
QuitCommand.java 100% 🍏
MemoryCommand.java 100% 🍏
SystemPropertyHelper.java 100% 🍏
YesNoContext.java 100% 🍏
Command.java 100% 🍏
PasswordCommand.java 100% 🍏
AbstractCommand.java 100% 🍏
CommandContext.java 100% 🍏
RuntimeProperties.java 100% 🍏
RuntimeInitializer.java 100% 🍏
RuntimeContext.java 100% 🍏
RunnableCommand.java 100% 🍏
TypeCommand.java 100% 🍏
IfCommand.java 100% 🍏
CopyCommand.java 100% 🍏
AbstractRuntimeCommand.java 100% 🍏
PopCommand.java 100% 🍏
HmcProperties.java 100% 🍏
ClAgnosticCommandContext.java 100% 🍏
LoggingService.java 100% 🍏
ClassUtil.java 100% 🍏
SegmentationFault.java 100% 🍏
VM.java 100% 🍏
HeadlessMc.java 100% 🍏
PluginsCommand.java 100% 🍏
LaunchContext.java 100% 🍏
LauncherProperties.java 100% 🍏
EntryStream.java 100% 🍏
FamilyUtil.java 100% 🍏
QuickExitCliHandler.java 99.22% 🍏
JavaCommand.java 98.89% 🍏
LaunchOptions.java 98.25% 🍏
AbstractClassTransformer.java 97.83% 🍏
OfflineCommand.java 95.74% 🍏
SupplierCommand.java 93.2% 🍏
CommandContextImpl.java 92.81% 🍏
Instrumentation.java 91.51% 🍏
ProcessFactory.java 91.03% -2.29% 🍏
FunctionCommand.java 90.55% 🍏
JLineCommandLineReader.java 90.03% -9.97% 🍏
VersionsCommand.java 87.88% 🍏
Main.java 86.5% 🍏
LoginCommand.java 86.27% 🍏
Command.java 85.68% -2.72% 🍏
CommandLineReader.java 85.29% -14.71% 🍏
WhileCommand.java 83.9% 🍏
JavaService.java 83.7% 🍏
CommandLine.java 83.59% -16.41% 🍏
LayeredBootstrapLauncher.java 82.65% 🍏
MethodCommand.java 82.22% 🍏
ResourceExtractor.java 81.69% -18.31%
AbstractVMCommand.java 80.9% 🍏
VersionInfoCache.java 80.35% 🍏
NewCommand.java 79.92% 🍏
DefaultCommandLineProvider.java 79.17% -20.83% 🍏
ApiClassloadingHelper.java 78.5% -21.5% 🍏
FieldCommand.java 78.15% 🍏
ClAgnosticCommand.java 77.56% -22.44% 🍏
ReflectionUtil.java 75.68% -24.32%
Main.java 74.26% 🍏
VersionService.java 74.11% 🍏
LoginContext.java 73.08% 🍏
ClassCommand.java 72.93% 🍏
Deencapsulator.java 72.73% -27.27% 🍏
InAndOutProvider.java 72% -28% 🍏
BufferedCommandLineReader.java 72% -28% 🍏
DownloadCommand.java 68.67% -7.63%
ForgeCommand.java 68.66% 🍏
LaunchCommand.java 67.65% -7.9%
FindByCommand.java 65.33% -34%
LogLevelCommand.java 63.39% 🍏
InMemoryLauncher.java 61.31% -1.17% 🍏
AbstractLoginCommand.java 56.06% -1.17% 🍏
JsonCommand.java 55.84% 🍏
ClassHelper.java 51.44% 🍏
HeadlessMcWrapper.java 50% 🍏
HeadlessMcApi.java 50% -50%
AccountManager.java 49.28% -8.27%
SpecificsCommand.java 43.98% 🍏
RuntimeQuitCommand.java 25% -22.5%
DumpCommand.java 17.82% 🍏
ConfigCommand.java 14.12% -4.71%
AccountsCommand.java 9.52% -3.81%
ValidatedAccount.java 8.2% -9.84%
ConsoleCommandLineReader.java 0%

@3arthqu4ke 3arthqu4ke merged commit 8ba2aca into main Aug 12, 2024
71 of 84 checks passed
@3arthqu4ke 3arthqu4ke deleted the jline branch August 12, 2024 13:30
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.

[Refactor] Runtime, Config, Command System and UI
1 participant