Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dns-namecheap-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dns-namecheap-cli - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

index.js

@@ -0,1 +1,3 @@

#!/usr/bin/env node
const { Command } = require('commander');

@@ -10,3 +12,3 @@ const Config = require('./commands/Config');

Program
.version('0.0.2')
.version('0.0.3')
.description('An application for interaction with the Namecheap API')

@@ -13,0 +15,0 @@ .addCommand(Config.get())

{
"name": "dns-namecheap-cli",
"description": "## Introduction Once upon a time, I naively thought to myself:",
"version": "0.0.2",
"version": "0.0.3",
"main": "index.js",

@@ -13,2 +13,5 @@ "dependencies": {

"devDependencies": {},
"bin": {
"namecheap-cli": "./index.js"
},
"scripts": {

@@ -15,0 +18,0 @@ "test": "echo \"Error: no test specified\" && exit 1"

@@ -10,2 +10,6 @@ # Namecheap CLI

## Installation
Install using `npm i -g dns-namecheap-cli`.
## Configuration

@@ -18,4 +22,4 @@

```
# node index.js config set username J4Wx
# node index.js config set apiKey someApiKeyStringHere
# namecheap-cli config set username J4Wx
# namecheap-cli config set apiKey someApiKeyStringHere
```

@@ -38,3 +42,3 @@

```
# node index.js config:get <field>
# namecheap-cli config:get <field>
```

@@ -45,3 +49,3 @@

```
# node index.js config:get username
# namecheap-cli config:get username
The current config setting for username is J4Wx

@@ -55,3 +59,3 @@ ```

```
# node index.js config:set <field> <value>
# namecheap-cli config:set <field> <value>
```

@@ -62,3 +66,3 @@

```
# node index.js config:set username J4Wx
# namecheap-cli config:set username J4Wx
```

@@ -75,3 +79,3 @@

```
node index.js domains:list <page = 1>
# namecheap-cli domains:list <page = 1>
```

@@ -88,3 +92,3 @@

```
node index.js domains:list <domain>
# namecheap-cli domains:list <domain>
```

@@ -95,3 +99,3 @@

```
node index.js domains:list github.com
# namecheap-cli domains:list github.com
```

@@ -106,3 +110,3 @@

```
# node index.js hosts:set <domain> <hostname> <type> <address> <ttl = 1800>
# namecheap-cli hosts:set <domain> <hostname> <type> <address> <ttl = 1800>
```

@@ -113,3 +117,3 @@

```
# node index.js hosts:set github.com demo a 1.1.1.1 30000
# namecheap-cli hosts:set github.com demo a 1.1.1.1 30000
```
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