@modcreative/wayble-cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@mod/wayble-cli

Wayble CLI by Mod Creative, Inc.

oclif Version Downloads/week License

Usage

$ npm install -g @modcreative/wayble-cli
$ wayble COMMAND
running command...
$ wayble (-v|--version|version)
@modcreative/wayble-cli/1.0.1 darwin-x64 node-v12.0.0
$ wayble --help [COMMAND]
USAGE
  $ wayble COMMAND
...

Commands

wayble convert

Convert SVG to PNG

USAGE
  $ wayble convert

OPTIONS
  -f, --file=file      (required) SVG file path to convert to PNG
  -o, --output=output  (required) Path to the PNG output file

EXAMPLE
  $ wayble convert --file="./source/map.svg" --output="./output/map.png"

wayble graph

Generate traversable 2D graph from a raster image

USAGE
  $ wayble graph

OPTIONS
  -f, --file=file      (required) File path to the raster image
  -o, --output=output  (required) Output path for the generated JSON graph
  -s, --spaces=spaces  [default: 255255255] RGB value that represents open spaces

EXAMPLE
  $ wayble graph --file="./source/image.jpg" --spaces="255255255"

wayble help [COMMAND]

display help for wayble

USAGE
  $ wayble help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

wayble plot

Generate animated SVG path from traversable JSON graph

USAGE
  $ wayble plot

OPTIONS
  -f, --file=file  (required) File path to JSON graph
  --end=end        [default: 100,100] End X,Y coordinates
  --start=start    [default: 0,0] Start X,Y coordinates

EXAMPLE
  $ wayble plot --file="./source/graph.json" --start="0,0" --end="100,100"

Readme

Keywords

Package Sidebar

Install

npm i @modcreative/wayble-cli

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

13.8 kB

Total Files

17

Last publish

Collaborators

  • selvinatmod