cli

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const MWCLIDIR string = ".mwcli"

MWCLIDIR name of the directory for storing application files

Variables

View Source
var MwddIsDevAlias = false

MwddIsDevAlias is the current way to build the mwdd command with the dev alias (may want to clean this up)

View Source
var SkipRenderMarkdown = false

SkipRenderMarkdown allows markdown rendering to be skipped in certain situations

Functions

func Context added in v0.10.2

func Context() string

func RenderMarkdown

func RenderMarkdown(markdownIn string) string

RenderMarkdown converts markdown into something nice to be displayed on the terminal

func UserDirectoryPath added in v0.10.1

func UserDirectoryPath() string

UserDirectoryPath returns the MWCLIDIR in the user home directory (or similar directory) that can be used for storage

func UserDirectoryPathForCmd

func UserDirectoryPathForCmd(cmdName string) string

UserDirectoryPathForCmd is a path within the application directory for the user that can be used for storage for the command

Types

This section is empty.

Jump to

Keyboard shortcuts

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