wgcf-cli

module
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MPL-2.0

README

wgcf-cli

A command-line tool for Cloudflare-WARP API, built using Cobra.
Thanks: @fscarmen, fscarmen/warp, @badafans, badafans/warp-reg

Example

❯ wgcf-cli 
A command-line tool for Cloudflare-WARP API, built using Cobra.

Usage:
  wgcf-cli [command]

Available Commands:
  bind        check current bind devices
  cancel      cancel a config from original one
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  license     change to a new license
  name        change the device name
  register    Register a new WARP account
  simplify    Simplify a config from original one
  unbind      unbind from original license
  update      update a config
  version     Print the version of wgcf-cli

Flags:
  -c, --config string   set configuration file path (default "wgcf.json")
  -h, --help            help for wgcf-cli

Use "wgcf-cli [command] --help" for more information about a command.

Build

make
  • Available environment variable:
  1. GOFLAGS, Default:
-trimpath -ldflags "-X github.com/ArchiveNetwork/wgcf-cli/constant.Version=$(VERSION) -s -w -buildid=" -v
  1. PREFIX, Default:
$(shell go env GOPATH)
  1. CGO_ENABLED, Default: 0

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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