terminus-plugin-project / terminus-domain-challenge
Access Domain Challenge Records
Installs: 1 029
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:terminus-plugin
Requires (Dev)
- phpunit/phpunit: ^9
- squizlabs/php_codesniffer: ^3.6
- symfony/yaml: ^5
README
A simple plugin for Terminus-CLI to get the Domain DNS challenge based on a site.
Adds command 'domain:dns:challenge' to Terminus. Learn more about Terminus Plugins in the Terminus Plugins documentation
Configuration
These commands require no configuration
Usage
terminus domain:dns:challenge <site>.<env>
terminus domain:dns:challenge <site>.<env> --filter="domain=www.example.com"
Installation
To install this plugin using Terminus 3:
terminus self:plugin:install terminus-domain-challenge
Testing
This project includes four testing targets:
composer lint
: Syntax-check all php source files.composer cs
: Code-style check.composer unit
: Run unit tests with phpunitcomposer functional
: Run functional test with bats
To run all tests together, use composer test
.
Note that prior to running the tests, you should first run:
composer install
composer install-tools
Help
Run terminus help domain:dns:challenge
for help.