wgcf-cli

module
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: May 16, 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

❯ 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 account
  completion  Generate the autocompletion script for the specified shell
  generate    Generate a xray/sing-box config
  help        Help about any command
  license     Change to a new license
  name        Change the device name
  plus        Recharge your account indefinitely
  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 $(BUILD_MODE) -tags=$(TAGS) -mod=readonly -modcacherw -v -ldflags "$(LDFLAGS)"
  1. CGO_ENABLED, Default: 0
  2. TAGS, Default:

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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