This package is a command line interface for Core.
yarn global add mrmarble/node-martian-robots
# OR
npm i -g @mrmarble/node-martian-robots
#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
$ 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
You can use the modifier -i to run a interactive session:
Content type
Image
Digest
Size
40.4 MB
Last updated
about 5 years ago
docker pull mrmarble/martian-robots-cli