Initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package scaffold.commands
|
||||
|
||||
import com.github.ajalt.clikt.core.CliktCommand
|
||||
import scaffold.Generators
|
||||
|
||||
class ListCommand(private val generators: Generators) : CliktCommand("list") {
|
||||
override fun run() = echo(generators.findAll().joinToString(" ") { it.last().toString() })
|
||||
}
|
||||
Reference in New Issue
Block a user