switchhosts-go

command module
v0.0.0-...-093bf73 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2022 License: MIT Imports: 11 Imported by: 0

README

switchhosts-go

A simple command line tool to switch your hosts

Usage

$ shs

NAME:
   SwitchHosts! - Switch your hosts!

USAGE:
   shs.exe [global options] command [command options] [arguments...]

VERSION:
   0.0.1

AUTHOR:
   Yuvv <[email protected]>

COMMANDS:
     add, a         Add new hosts
     edit, e        Edit existed hosts
     del, d         Delete new hosts
     list, l, ls    List existed hosts
     switch, s, sw  Switch to hosts
     view, v        View current hosts
     help, h        Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --global, -g   Global hosts configuration
   --help, -h     show help
   --version, -v  print the version

Build

Clone this project:

git clone https://github.com/Yuvv/switchhosts-go.git

cd to project directory, and then compile it:

cd switchhosts-go

go build -o bin/shs
# go build -o bin/shs.exe   # on widows

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