!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/psy/psysh/src/Psy/Command/   drwxr-xr-x
Free 117.42 GB of 200.55 GB (58.55%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     HelpCommand.php (2.71 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/*
 * This file is part of Psy Shell.
 *
 * (c) 2012-2015 Justin Hileman
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Psy\Command;

use 
Symfony\Component\Console\Helper\TableHelper;
use 
Symfony\Component\Console\Input\InputArgument;
use 
Symfony\Component\Console\Input\InputInterface;
use 
Symfony\Component\Console\Output\OutputInterface;

/**
 * Help command.
 *
 * Lists available commands, and gives command-specific help when asked nicely.
 */
class HelpCommand extends Command
{
    private 
$command;

    
/**
     * {@inheritdoc}
     */
    
protected function configure()
    {
        
$this
            
->setName('help')
            ->
setAliases(array('?'))
            ->
setDefinition(array(
                new 
InputArgument('command_name'InputArgument::OPTIONAL'The command name'null),
            ))
            ->
setDescription('Show a list of commands. Type `help [foo]` for information about [foo].')
            ->
setHelp('My. How meta.');
    }

    
/**
     * Helper for setting a subcommand to retrieve help for.
     *
     * @param Command $command
     */
    
public function setCommand($command)
    {
        
$this->command $command;
    }

    
/**
     * {@inheritdoc}
     */
    
protected function execute(InputInterface $inputOutputInterface $output)
    {
        if (
$this->command !== null) {
            
// help for an individual command
            
$output->page($this->command->asText());
            
$this->command null;
        } elseif (
$name $input->getArgument('command_name')) {
            
// help for an individual command
            
$output->page($this->getApplication()->get($name)->asText());
        } else {
            
// list available commands
            
$commands $this->getApplication()->all();

            
$table $this->getTable($output);

            foreach (
$commands as $name => $command) {
                if (
$name !== $command->getName()) {
                    continue;
                }

                if (
$command->getAliases()) {
                    
$aliases sprintf('<comment>Aliases:</comment> %s'implode(', '$command->getAliases()));
                } else {
                    
$aliases '';
                }

                
$table->addRow(array(
                    
sprintf('<info>%s</info>'$name),
                    
$command->getDescription(),
                    
$aliases,
                ));
            }

            
$output->startPaging();
            if (
$table instanceof TableHelper) {
                
$table->render($output);
            } else {
                
$table->render();
            }
            
$output->stopPaging();
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0138 ]--