コード例 #1
0
 protected function configure()
 {
     parent::configure();
     $this->setName('tahoe:config_node')->addArgument('i.furl', InputArgument::REQUIRED, '[client] Introducers furl')->addArgument('s.K', InputArgument::OPTIONAL, '[client] Shares needed(K)')->addArgument('s.H', InputArgument::OPTIONAL, '[client] Shares happy(H)')->addArgument('s.N', InputArgument::OPTIONAL, '[client] Shares total(N)')->addArgument('nname', InputArgument::OPTIONAL, '[node] Nodes nickname')->addArgument('storage', InputArgument::OPTIONAL, '[storage] Storage enabled')->setDescription('Configures the Tahoe client node.');
 }
コード例 #2
0
 protected function configure()
 {
     parent::configure();
     $this->setName('tahoe:update_code')->setDescription('Update the returning code after the node configuration.');
 }
コード例 #3
0
 protected function configure()
 {
     parent::configure();
     $this->setName('tahoe:renew_leases')->setDescription('Renews the lease of every file saved in the Tahoe storage.');
 }
コード例 #4
0
 protected function configure()
 {
     parent::configure();
     $this->setName('elkarbackup:update_authorized_keys')->addArgument('content', InputArgument::REQUIRED, 'Content of the file')->setDescription('Updates the $HOME/.ssh/authorized_keys file with the provided contents.');
 }
コード例 #5
0
 protected function configure()
 {
     parent::configure();
     $this->setName('elkarbackup:generate_keypair')->setDescription('Generates the ssh keypair for the user running the backup jobs.');
 }