1.0.1 • Published 11 months ago
2pme v1.0.1
2peekme CLI
A command-line interface tool for interacting with the 2PeekMe API. This CLI allows you to manage subdomains, DNS records, and your API key easily from your terminal.
More documentaiton can be found here: https://2peek.me
Installation
To install the 2peekme CLI globally, run the following command:
npm i -g 2pmeUsage
After installation, you can use the CLI with the following command:
2pme [command]Commands
Here are some of the available commands:
key- Manage your API key.- Options:
--create- Generate a new API key.--set <key>- Set your API key.--info- Get information about your API key.--delete- Delete your current API key.
- Options:
create- Create a new subdomain.- Options:
--name <name>- Subdomain name.--type <type>- DNS record type (A, CNAME, TXT, etc.).--value <value>- Record value.
- Options:
update- Update an existing subdomain.- Options:
--name <name>- Subdomain name.--type <type>- New DNS record type.--value <value>- New record value.
- Options:
delete- Delete a subdomain.- Options:
--name <name>- Subdomain name.
- Options:
list- List all subdomains.
License
This project is licensed under the GPL-3.0 License.