Package io.quarkus.cli.plugin
Class JBangSupport
java.lang.Object
io.quarkus.cli.plugin.JBangSupport
-
Constructor Summary
ConstructorsConstructorDescriptionJBangSupport(boolean interactiveMode, io.quarkus.devtools.messagewriter.MessageWriter output) JBangSupport(boolean interactiveMode, io.quarkus.devtools.messagewriter.MessageWriter output, Path workingDirectory) -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks id jbang is installed and prompot user for installation.getOptionalExecutable(boolean shouldEnsureInstallation) booleanbooleanbooleanversion()
-
Constructor Details
-
JBangSupport
public JBangSupport(boolean interactiveMode, io.quarkus.devtools.messagewriter.MessageWriter output) -
JBangSupport
public JBangSupport(boolean interactiveMode, io.quarkus.devtools.messagewriter.MessageWriter output, Path workingDirectory)
-
-
Method Details
-
findWrapper
-
findExecutableInPath
-
findExecutableInLocalJbang
-
getOptionalExecutable
-
getOptionalExecutable
-
getExecutable
-
getWorkingDirectory
-
getCommand
-
execute
-
version
-
isAvailable
public boolean isAvailable() -
isInstallable
public boolean isInstallable() -
promptForInstallation
public boolean promptForInstallation() -
ensureJBangIsInstalled
public boolean ensureJBangIsInstalled()Checks id jbang is installed and prompot user for installation. Remembers choice so that we don't prompt user multiple times per action.
-