Twingate-Labs / tg-cli

Command Line Interface for Administering Twingate
Apache License 2.0
24 stars 4 forks source link
cloud deno javascript twingate

Twingate CLI Tool

This is a command line application demonstrating various usages of the Twingate API.

Setup

Windows

Linux

Mac

Compiling from source

Example Commands

Show command usage

./tg --help

./tg group --help

./tg export --help

Export Excel file

./tg export

Export PNG image

./tg export --format png

Note: Requires the GraphViz package to be installed and available on your path.

List resources

./tg resource list

Import Groups, Remote Networks and resources into a new account

./tg import -a [new account name] -nrg -f [path to file to import from (format must be as outputted by the export command)]

Need Help?

If you are experiencing any issues, create a new issue here.