for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Acacha\ForgePublish\Commands;
/**
* Class PublishIp.
*
* @package Acacha\ForgePublish\Commands
*/
class PublishIp extends SaveEnvVariable
{
* The name and signature of the console command.
* @var string
protected $signature = 'publish:ip {ip?}';
* The console command description.
protected $description = 'Save acacha forge ip';
* Env var to set.
* @return mixed
protected function envVar()
return 'ACACHA_FORGE_IP_ADDRESS';
}
* Argument key.
protected function argKey()
return 'ip';
* Question text.
protected function questionText()
return 'Acacha forge IP address?';