Skip to content

Command-line interface to POP's domain registration and hosting service

License

Notifications You must be signed in to change notification settings

popdotco/popcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

popcli

popcli

The command line interface to POP.co, the world's easiest to way to get your idea online.

getting started

register

You will need to have an account with POP in order to use this utility.

Signup is free and you will get a free webpage and custom email address, live on the domain name of your choosing.

Learn more at POP.co

install

With npm do:

npm install -g popcli

usage

popcli [options] [service] [command.. args..]

options

-u, --user=ARG    POP username
-p, --pass=ARG    POP password
-d, --domain=ARG  Domain name to manipulate (not always needed)
-h, --help

available services

  • Simple Page (web page builder)
    • Upload a file or contents of a folder to use as your simple page.
  • Domains Management
    • List domains in your account.

More services will be available in future updates, such as ability to register an account directly from popcli, check domain availability, etc...

examples

Simple Page:

To upload the contents of your files/ directory to use as your Simple Page:

Supported file types: gif, jpg, jpeg, jpe, png, ico, svg, bmp, pdf, doc, docx, csv, txt, js, css, htm, html, xml, xls, xlsx, json.

popcli [email protected] -p=xyzzy -d=q4a.co simplepage upload files/

For a full list of options and services that can be controlled, please see the help screen by typing popcli -h.

Domains Management:

To see a list of all domains tied to your POP account

popcli [email protected] -p=xyzzy -d=q4a.co domains list

config

If you don't want to constantly type your credentials you can create a .popclirc file and put your credentials in there:

[email protected]
pass=qwerty
domain=domain.tld

Any flags you pass in the command line will override whatever it's in the config. e.g.

popcli -d=otherdomain.tld ...

The above will use otherdomain.tld rather than domain.tld defined in the config.

Pro Tip: You can also put .popclirc file in your $HOME directory and then just change whatever options you want on a per project/folder basis. Handy when you have multiple domains.

authors

support

Need help? Confused and have no idea what to do or what this is? Contact us don't be shy.

license

Licensed under MIT

About

Command-line interface to POP's domain registration and hosting service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published