~gpanders/gandi-cli unlisted

ref: 2e1b7abbef566712436ecd16e9ee03c177f840c2 gandi-cli/README.md -rw-r--r-- 1.0 KiB
2e1b7abb — Greg Anders Bump version number to 0.2.3 6 months ago

#Gandi CLI Tool

Command line interface to the Gandi API.

#Installation

#pip

Install using pip:

pip3 install --user gandi

#pipx

Install using pipx:

pipx install gandi

#Configuration

Run gandi setup to create a configuration file at $XDG_CONFIG_HOME/gandi/config. This will ask for your Gandi API key as well as an (optional) default domain name and an (optional) default mailbox ID.

If you specify a domain name and mailbox ID, subcommands that require these parameters will use the values supplied in your config file instead of requiring them as commandline flags.

#Usage

gandi SUBCOMMAND OPTIONS

#Subcommands

setup: Setup the Gandi CLI config file

gandi setup

alias: Manage email aliases

gandi alias [-d DOMAIN] [-m MAILBOXID] (-l|--list | -a|--add ALIAS | -r|--remove ALIAS)

mbox: Manage email mailboxes

gandi alias [-d DOMAIN] --list