Sign inSign up

mrmarble/martian-robots-cli

By mrmarble

•Updated about 5 years ago

Image
0

233

mrmarble/martian-robots-cli repository overview

⁠Martian Robots CLI

Docker Cloud Build Status npm (scoped)

This package is a command line interface for Core⁠.

⁠Installation

⁠Directly
yarn global add mrmarble/node-martian-robots
# OR
npm i -g @mrmarble/node-martian-robots
⁠Docker
#interactive mode
docker run -it mrmarble/martian-robots-cli -i

#input file using a file volume
docker run -it -v "$pwd\input.txt:/input.txt" mrmarble/martian-robots-cli -s input.txt

#ouput file using a folder volume
docker run -it -v "$pwd\fixtures:/fixtures" mrmarble/martian-robots-cli -s fixtures/input.txt -o fixtures/output.txt

⁠Usage

$ mars-robots -h
Usage: Martian Robots [options]

Options:
  -v, --version        output the version number
  -s, --source <file>  Input file
  -o, --output <file>  Output file. Defaults to stdout
  -i, --interactive    Run interactive console
  -h, --help           display help for command
⁠Interactive mode

You can use the modifier -i to run a interactive session:

asciicast

Tag summary

Content type

Image

Digest

Size

40.4 MB

Last updated

about 5 years ago

docker pull mrmarble/martian-robots-cli