This commit is contained in:
Simon Vieille 2015-02-23 21:45:19 +01:00
parent 142567200b
commit 7eb53206cc
2 changed files with 41 additions and 1 deletions

View File

@ -2,6 +2,44 @@
PDNS-Console provided a CLI to manage PowerDNS application and improved it by adding a powerfull DNS zone versionning.
# Commands
## Available commands
### Helpers
```
about Show information about pdns-console
help Displays help for a command
list Lists commands
```
### Manage domains
```
domain:add Add a domain
domain:list List domains
domain:remove Remove a domain
```
### Manage zones
```
zone:add Add a zone
zone:assign Assign a zone to a domain.
zone:list List DNS zones
zone:push Push activated zones to PowerDNS tables
zone:record:add Add a zone record
zone:record:remove Remove a zone record
zone:remove Remove a zone
zone:unassign Unassign the domain zone
zone:version:active Active a zone version
zone:version:add Add a zone version
zone:version:copy Copy a zone version
zone:version:remove Remove an unactivated zone version
zone:version:unactive Active a zone version
```
# Installation
## Requirements

View File

@ -23,7 +23,9 @@ class DomainRemoveCommand extends AbstractCommand
->addOption('confirm', null, InputOption::VALUE_NONE, 'Confirmation')
->setHelp("<info>%command.name%</info>
You can use <info>--name</info> or <info>--id</info> to identify the domain to remove.");
You can use <info>--name</info> or <info>--id</info> to identify the domain to remove.
<comment>By removing a domain, you will remove all associated records!</comment>");
}
protected function execute(InputInterface $input, OutputInterface $output)