jack

command module
v0.0.0-...-d63687d Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2018 License: MIT Imports: 10 Imported by: 0

README

Jack

🏗 Amazing web development tool

Install

go get -u github.com/itsjimi/jack

Usage

$ jack
NAME:
   Jack - 🏗 Amazing web development tool

USAGE:
   jack [global options] command [command options] [arguments...]

VERSION:
   0.1.1

COMMANDS:
     serve, s    serve static files
     connect, c  connect to websocket server
     help, h     Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --config value  path of config file (default: ".jack.json")
   --help, -h      show help
   --version, -v   print the version

Commands

Serve

Start a web server to serve static files

Usage
jack serve
Options
  • -addr="0.0.0.0"
  • -port="8080"
  • -path="."
Connect

[WIP]

Config file

You can create a .jack.json in a directory to load a configuration instead of flags

{
  "addr": "127.0.0.1",
  "port": 1234,
  "path": "./"
}

Contribute

Feel free to fork and make pull requests

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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