neuron-0.2.0.0: Haskell meets Zettelkasten, for your plain-text delight.
Safe HaskellNone
LanguageHaskell2010

Neuron.Zettelkasten

Description

Main module for using neuron as a library, instead of as a CLI tool.

Synopsis

CLI

data App Source #

Constructors

App 

Fields

Instances

Instances details
Eq App Source # 
Instance details

Defined in Neuron.Zettelkasten

Methods

(==) :: App -> App -> Bool #

(/=) :: App -> App -> Bool #

Show App Source # 
Instance details

Defined in Neuron.Zettelkasten

Methods

showsPrec :: Int -> App -> ShowS #

show :: App -> String #

showList :: [App] -> ShowS #

data NewCommand Source #

Constructors

NewCommand 

Fields

Instances

Instances details
Eq NewCommand Source # 
Instance details

Defined in Neuron.Zettelkasten

Show NewCommand Source # 
Instance details

Defined in Neuron.Zettelkasten

commandParser :: Parser App Source #

optparse-applicative parser for neuron CLI

run :: Action () -> IO () Source #

runWith :: Action () -> App -> IO () Source #

Rib site generation

Etc

newZettelFile :: Path b Dir -> NewCommand -> IO () Source #

Create a new zettel file and open it in editor if requested

As well as print the path to the created file.