Coder Social home page Coder Social logo

namecheap-cli-go's Introduction

namecheap-cli

This CLI was created to speed up the process for my engineers in procurement/renewal/management of domains, SSL certificates in Namecheap.

As this CLI was created with the goal of using it in a company scenario, the registrant information is constant for all products purchased in the account. As such, the registrant information is placed in a consts.go file.

Please note that due to the limitation with Namecheap API operations, this CLI will only work with account balance and not credit card payment methods.

Please refer to Namecheap documentations for more information.

Configure

Configure the constants in consts/consts.go before you build the executable.

Note: Remember to change the URL to production before usage. Defaults to sandbox.

Build

go build namecheap.go

Build with Earthly

Building with Earthly will generate an executable in the bin/ directory

earthly +build

Sample CLI Output

        A CLI tool built from Go
        that interact with NameCheap API

Usage:
  namecheap [command]

Available Commands:
  domains     command to interact with domains in namecheap
  help        Help about any command
  ssl         command to interact with ssl certificates in namecheap
  users       get information and perform actions on your namecheap account

Flags:
  -h, --help   help for namecheap

Use "namecheap [command] --help" for more information about a command.

namecheap-cli-go's People

Contributors

alexlogy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.