KSnip / com.github.nwillc.ksnip.controller / SnippetController / addSnippet
addSnippet
fun addSnippet(category: String, title: String, body: String): Unit
Add a new Snippet to the snippets.
Parameters
category - the category of the new snippet.
title - the title of the new snippet.
body - the body of the new snippet.