Skip to content

Latest commit

 

History

History
94 lines (69 loc) · 2.16 KB

README.md

File metadata and controls

94 lines (69 loc) · 2.16 KB

Markdown please

cli to convert markdown to slack-markdown or the other way around

oclif Version Downloads/week License

Usage

$ npm install -g mdp
$ mdp COMMAND
running command...
$ mdp (-v|--version|version)
mdp/0.0.0 darwin-x64 node-v15.5.1
$ mdp --help [COMMAND]
USAGE
  $ mdp COMMAND
...

Commands

mdp help [COMMAND]

display help for mdp

USAGE
  $ mdp help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

mdp md-to-slack [FILE]

describe the command here

USAGE
  $ mdp md-to-slack [FILE]

ARGUMENTS
  FILE  path to markdown file

OPTIONS
  -a, --after=after    use only output that comes after a given string
  -h, --help           show CLI help
  -i, --stdin          use input from stdin
  -s, --sendTo=sendTo  slack api url to send resulting text to

See code: src/commands/md-to-slack.ts

mdp slack-to-md [FILE]

describe the command here

USAGE
  $ mdp slack-to-md [FILE]

ARGUMENTS
  FILE  path to optional text file containing slack simplified-markdown

OPTIONS
  -a, --after=after  use only output that comes after a given string
  -h, --help         show CLI help
  -i, --stdin        use input from stdin

See code: src/commands/slack-to-md.ts