Skip to main content

A command line interface to modify DNS entries in Proteus.

Project description

Proteus Command Line Client

A simple command line client to modify DNS entries in Proteus.

Installation

Use pip to install proteuscmd:

❯ pip install proteuscmd

Configuration

Configure access credentials in ~/.proteus.json:

{
	"user": "api-user",
	"password": "super.secret!",
	"url": "https://proteus.example.com"
}

Additionally, you can specify a map of automatic replacements for domains. This can be useful if, for example, all your domains also have an alternate domain with a DNAME record.

{
	...
	"replace": {
		".ex.com": ".example.com"
	}
}

Usage

❯ proteuscmd
Usage: python -m proteuscmd [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  dns  Get information about or update DNS entries.
  ip   Register IP addresses.

Get information about a DNS record:

❯ proteuscmd dns get lktest.uni-osnabrueck.de

Shell Completion

The proteuscmd command line tool supports shell completion for several major shells:

For Bash, add to ~/.bashrc:

eval "$(_PROTEUSCMD_COMPLETE=bash_source proteuscmd)"

For ZSH, add to ~/.zshrc:

eval "$(_PROTEUSCMD_COMPLETE=zsh_source proteuscmd)"

For fish, add to ~/.config/fish/completions/proteuscmd.fish:

_PROTEUSCMD_COMPLETE=fish_source proteuscmd | source

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

proteuscmd-0.9.tar.gz (7.1 kB view details)

Uploaded Source

File details

Details for the file proteuscmd-0.9.tar.gz.

File metadata

  • Download URL: proteuscmd-0.9.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.3

File hashes

Hashes for proteuscmd-0.9.tar.gz
Algorithm Hash digest
SHA256 8008b65c8e1b32b4fa9f5ee38a2ebbfd15c943baab18396282d8828a5a1a7567
MD5 d7be64bdad4e4f5c7b494e4a5ac25bc6
BLAKE2b-256 f9a7c820c55580f4d4c18de63da8953ed000d2ea29e0b4fd5474a4c297a0f159

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page