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).