Socket
Socket
Sign inDemoInstall

daplie-tools

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

daplie-tools - npm Package Compare versions

Comparing version 1.0.0-alpha.4 to 1.0.0-alpha.5

18

bin/daplie.js

@@ -198,2 +198,3 @@ #!/usr/bin/env node

console.log(" dns:set # add a device or server to a domain name");
console.log(" dns:unset # remove a device or server from a domain name");
console.log(" dns:list # show all dns records for a given domain");

@@ -225,3 +226,3 @@ console.log("");

console.log('');
console.log('GET https://oauth3.org/api/com.enom.reseller/ddns?token=' + results.token);
console.log('https://oauth3.org/api/com.enom.reseller/ddns?token=' + results.token);
console.log('');

@@ -309,11 +310,14 @@ });

program
.usage('dns:set -n <domainname> -d <devicename> -a <answer>')
.usage('dns:set -n <domainname> -t <type> -a <answer>')
.option('-n, --name <value>', 'Specify a domainname / hostname')
.option('-d, --device <value>', 'Name of device associated with the answer')
//.option('-d, --device <value>', 'Name of device associated with the answer')
.option(
'-t, --type <value>'
, 'Record type. One of: A, AAAA, ANAME, CNAME, FWD, MX, SRV, TXT'
, /^(A|AAAA|ANAME|CNAME|FWD|MX|SRV|TXT)$/i
'-t, --type <value>'
, 'Record type. One of: ANAME, CNAME, FWD, MX, SRV, TXT'
//, 'Record type. One of: A, AAAA, ANAME, CNAME, DEV, FWD, MX, SRV, TXT'
, /^(ANAME|CNAME|FWD|MX|SRV|TXT)$/i
//, /^(A|AAAA|ANAME|CNAME|DEV|FWD|MX|SRV|TXT)$/i
)
.option('-a, --answer <value>', 'The value of IPv4, IPv6, CNAME, or ANAME')
.option('--ttl <seconds>', 'time to live (default is 300 seconds - 5 minutes)')
.option('-p, --priority <n>', 'Priority (for MX record, only)')

@@ -323,3 +327,3 @@ .parse(process.argv)

if (helpme || !('string' === typeof program.opts().name && program.answer)) {
if (helpme || !('string' === typeof program.opts().name && program.type && program.answer)) {
program.help();

@@ -326,0 +330,0 @@ return;

{
"name": "daplie-tools",
"version": "1.0.0-alpha.4",
"version": "1.0.0-alpha.5",
"description": "Taking back the Internet",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc