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