Drop-in Usage

console
> javac -d target ...
↓ becomes ↓

console
> elide javac -- -d target ...

Use the drop-in calling style for identical behavior with your current tools. Prefix supported commands with elide, and then separate args with --.

Identical behavior

  • Elide's args, including custom ones, go before the -- separator.
  • Tool args, which should be passed directly to e.g. javac, go after the -- separator.

For project-aware commands such as elide build, elide test, and elide install, use Elide Projects and the elide.pkl Reference.

Supported Tools

Supported drop-in use tools include:
SubcommandToolDescription
elide javaJava RuntimeRun JVM programs, equivalent to java
elide javacJava CompilerCompile Java source code
elide javapJava DisassemblerDisassemble Java bytecode
elide jdepsJava Dependency AnalyzerAnalyze JVM class dependencies
elide javadocJavadocGenerate Java source code docs
elide jarJAR ToolAssemble JAR (Java Archive) files from inputs
elide javaformatGoogle Java FormatFormat Java source code
elide kotlincKotlin CompilerCompile Kotlin source code to JVM bytecode
elide ktfmtktfmtFormat Kotlin source code
elide native-imageNative ImageCompile JVM programs to native executables
elide jibJibBuild container images from JVM programs
elide mvnMavenRun the embedded Maven build tool

Elide Javadoc Theme

The --theme elide flag for elide javadoc runs today and injects the Elide doclet, but the doclet does not yet persist any output — the documentation database and web interface are not implemented. Standard Javadoc generation (without this flag) works normally.
elide javadoc supports a --theme flag before the -- separator. When set to elide, it activates a custom doclet. The doclet currently scans your program's elements but does not yet emit the planned searchable documentation database or web-based interface — that output is not implemented, so no documentation is persisted yet.
console
> elide javadoc --theme elide -- -sourcepath src -subpackages com.example