virtus

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

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

Virtus - a simple command-line interface to serve HTML files written in Go

virtus is a simple web server for serving static html files.

Github: https://github.com/Szafa99/Virtus

Features

Serving a static HTML file on a web server

Instalation

Use the command below to install virtus

go get -u github.com/Szafa99/virtus/cmd

Available Commands:

Available Commands
 help        Help about any command
 run         Serve a html file on the server
 version     Check virtus version


Flags:
 -h, --help   help for virtus

run flags

 run
 Flags:
 -f, --file string   path to html file
 -h, --help          help for run

Examples

Example 1: Start a server and serve a HTML file on port 8080

 virtus run --file index.html

Example 2: Check current version you're running

virtus version

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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