package bloopgun
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
class
BloopgunCli extends AnyRef
The main library entrypoint for bloopgun, the Bloop binary CLI.
The main library entrypoint for bloopgun, the Bloop binary CLI.
It uses Nailgun to communicate to the Bloop server and has support for:
- Prints Bloop-specific feedback to the user to improve the CLI UX.
* Print custom error if user types
bloop repl
. * Recomend usingbloop --nailgun-help
ifhelp
set to print CLI help. 2. Starts the server if already not running or ifbloop server
is used. 3. Invokes Ammonite ifbloop console
is used and repl kind is default or matches Ammonite.
For the moment, this client doesn't do any kind of version handling so if the client and the server have serious incompatibilities the communication could crash. To avoid that users can forcefully exit the server and let the client start a session. Exiting requires the intervention of the user because it can affect already connected clients to the server instance.
- Prints Bloop-specific feedback to the user to improve the CLI UX.
* Print custom error if user types
- final case class BloopgunParams(nailgunServer: String = Defaults.Host, nailgunPort: Int = Defaults.Port, help: Boolean = false, nailgunHelp: Boolean = false, verbose: Boolean = false, nailgunShowVersion: Boolean = false, args: List[String] = Nil, server: Boolean = false, serverConfig: ServerConfig = ServerConfig()) extends Product with Serializable
- case class BloopgunResult(code: Int, bloopBinary: LocatedServer) extends Product with Serializable
- final case class ServerConfig(host: Option[String] = None, port: Option[Int] = None, serverArgs: List[String] = Nil, serverLocation: Option[Path] = None, startTimeout: Option[Int] = None, fireAndForget: Boolean = false) extends Product with Serializable
Value Members
- object Bloopgun extends BloopgunCli
- object Defaults