Skip to content

A command line tool to talk to and manage your hover.com account

Notifications You must be signed in to change notification settings

pallavkothari/hover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build StatusDependabot Status

Hover

A command line tool to talk to and manage your hover.com account

Install the CLI

git clone [email protected]:pallavkothari/hover.git hover && cd hover && mvn install && ln -sF $PWD/target/bin/hover /usr/local/bin/hover

Install with gradle

repositories {
    maven {
        url  "https://dl.bintray.com/pallavkothari/hover" 
    }
}
dependencies {
    compile 'link.pallav:hover:0.6'
}

Install with maven

<dependency>
  <groupId>link.pallav</groupId>
  <artifactId>hover</artifactId>
  <version>0.6</version>
  <type>pom</type>
</dependency>

Usage

Pass credentials by setting the HOVER_USERNAME and HOVER_PASSWORD environment variables. Alternatively, use the --username|--password CLI options (discouraged).

hover --help

hover ls:domains
hover ls:cnames -d mydomain.com
hover ls:cname -d mydomain.com -c cname
hover add:cname -d mydomain.com -s sub.domain -t target.herokuspace.com 
hover update:cname -d mydomain.com -s sub.domain -t target2.herokuspace.com 
hover rm:cname -id dnsId  # get this from ls:cnames
hover add:txt -d <mydomain.com> -n <name> -v <value>
# removing txt records works fine with the existing rm:cname command:
hover rm:cname -id $(hover ls:cname -d mydomain.com -c FOO | jq -r '.id')


or with jq: 
hover  ls:domains | jq -r '.[].domain_name'

Releasing

Follow these instructions

mvn release:prepare
mvn release:perform

About

A command line tool to talk to and manage your hover.com account

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •