A command line tool to talk to and manage your hover.com account
git clone git@github.com:pallavkothari/hover.git hover && cd hover && mvn install && ln -sF $PWD/target/bin/hover /usr/local/bin/hover
repositories {
maven {
url "https://dl.bintray.com/pallavkothari/hover"
}
}
dependencies {
compile 'link.pallav:hover:0.6'
}
<dependency>
<groupId>link.pallav</groupId>
<artifactId>hover</artifactId>
<version>0.6</version>
<type>pom</type>
</dependency>
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'
Follow these instructions
mvn release:prepare
mvn release:perform