mmsd cli | mmdevs
Home

Features

  1. Check whether the subdomain you want to register is available.
  2. Generate a registration JSON file.

CLI Usage


MMSD CLI.

Usage:

    mmsd <sub_domain>            Check subdomain availability and generate subdomains/<sub_domain>.json

CLI Examples

npx mmsd
[Error]
One CLI argument is required. Example: npx mmsd <sub_domain>.
npx mmsd foo bar biz
[Error]
Only one CLI argument is allowed. Example: npx mmsd <sub_domain>.
npx mmsd example
[Subdomain Not Available]
Subdomain "example" is registered by another user. Please try another name.
npx mmsd doc
[Subdomain Not Available]
Subdomain "doc" is reserved by MMDEVS.ORG. Please try another name.
npx mmsd phowa
[Success]
Register JSON file "subdomains/phowa.json" was created.
npx mmsd phowa
[Error]
File "subdomains/phowa.json" already exists.
npx mmsd example
[Network Error]
fetch failed. Please try again later.