mdrun

command module
v0.0.0-...-16bf92b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

README

mdrun

mdrun is still very much under development and not quite ready for serious scrutiny (even before considering it for production use). At this stage, I am still experimenting with ideas and experiences to achieve my goals with the project. Nothing here is set in stone and might change overnight.

mdrun is a tool for getting the most out of your technical documentation. It allows you to live evaluate code blocks in your markdown with no modification to your documents.

mdrun is not just great as a teaching tool or impressing your friends. It can also be used as a powerful runbook and incident response tool by granting responders diagnosis and remediation processes at the click of a button.

Install

Install mdrun from source with the Go tool chain:

go install github.com/fvumbaca/mdrun

Usage

The simplest and most common way to use mdrun is to just run it from the command line:

mdrun

This will startup a server on your localhost allowing you to browse files in the current directory.

Still TODO

  • Support basic cli flags like --port
  • Support metadata at the top of the file in front matter
  • Support required cli-tools to throw errors early if it can even run on the system
  • Support out-of-the-box containerization??
  • CLI mode will print out the runbook to stdout and prompt before each exec
  • Script mode that will execute markdown as a script
  • Infer language dependencies from code blocks

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL