AutoDev@1.8.0

Shell Suggest

In Terminal, we provide a feature to generate shell script by LLM.

Shell Suggest

Customize

Default context

data class ShellSuggestContext(
    val question: String,
    val shellPath: String,
    val cwd: String,
    // today's date like 20240322
    val today: String = SimpleDateFormat("yyyyMMdd").format(Date()),
    // operating system name
    val os: String = System.getProperty("os.name")
)

Prompt output example