setup
द्वारा automattic
सत्यापित करें कि dn CLI स्थापित और कॉन्फ़िगर किया गया है। इसका उपयोग तब करें जब उपयोगकर्ता पहली बार domain-names प्लगइन स्थापित करता है, या जब dn कमांड CLI के कारण विफल हो जाता है…
npx skills add https://github.com/automattic/dn-cli --skill setupSetup
Check that the dn CLI is ready to use.
Steps
- Run
which dnto check if the CLI is on PATH. - If
dnis not found:- Tell the user to install it:
composer global require automattic/dn-cli - Remind them that
~/.composer/vendor/bin(or~/.config/composer/vendor/bin) must be in their PATH - Stop here until they install it
- Tell the user to install it:
- If
dnis found, rundn listto verify it works. - If the output looks normal, tell the user they're ready and can run
dn configureto set up credentials (or/domain-names:dn-configurefor guided setup).