/* * Copyright (c)2019 ZeroTier, Inc. * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file in the project's root directory. * * Change Date: 2023-01-01 * * On the date above, in accordance with the Business Source License, use * of this software will be governed by version 2.0 of the Apache License. */ /****/ package cli import ( "fmt" "zerotier/pkg/zerotier" ) var copyrightText = fmt.Sprintf(`ZeroTier Network Virtualization Service Version %d.%d.%d (c)2019 ZeroTier, Inc. Licensed under the ZeroTier BSL (see LICENSE.txt)`, zerotier.CoreVersionMajor, zerotier.CoreVersionMinor, zerotier.CoreVersionRevision) // Help dumps help to stdout func Help() { fmt.Println(copyrightText) fmt.Println(` Usage: zerotier [-options] [command args] Global Options: -j Output raw JSON where applicable -p Use alternate base path -t Use secret auth token from this file Commands: help Show this help version Print version service Start in system service mode status Show ZeroTier service status and config peers Show VL1 peers roots Show configured VL1 root servers addroot [name] Add a VL1 root removeroot Remove a VL1 root locator [args] Locator management commands new
[...] Create and sign locator for identity newdnskey Create a secure DNS name and secret getdns Create secure DNS TXT records identity [args] Identity management commands new [c25519|p384] Create new identity (including secret) getpublic Extract only public part of identity validate Locally validate an identity sign Sign a file with an identity's key verify Verify a signature networks List joined VL2 virtual networks network Show verbose network info join Join a virtual network leave Leave a virtual network set