sh2md-0.1.0.0: Record your shell session and print in the markdown format

Safe HaskellSafe
LanguageHaskell2010

RecordShellToMarkdown.Data

Synopsis

Documentation

data ShellIO Source #

Shell Input and Output

Constructors

ShellIO 

Fields

  • shell_inputs :: Seq Text

    commands. If a command doesn't have stdout, it will be combined. For example, cd dir doesn't have an output so the next command will be concatenated to the command

  • shell_output :: !Text

    output.

  • shell_wd :: Text

    working directory when the output was printed

Instances
Show ShellIO Source # 
Instance details

Defined in RecordShellToMarkdown.Data

type RecordShellToMarkdownState a = StateT (Seq ShellIO) IO a Source #

Type Alias

This contains the entire shell session