method listCommands documentation in bbn\Api\Cloudmintest

Gets all the commands directly from the API

function($param = []) { $param = $this->processParameters($param); //Setting the last action performed $this->last_action = "list-commands"; //Defining the $url_part and the command to be executed $url_part = "list-commands"; if (isset($param['short'])){//short parameter is set $url_part .= "&short"; } if (isset($param['nameonly'])){//nameonly parameter is set $url_part .= "&nameonly"; } //Concatenating the closing single quote $url_part .="'"; //Concatenating the header url and $url_part to create the full url to be executed $url_part = $this->getHeaderUrl() . $url_part; //Calling shell_exec and returning the result array return $this->callShellExec($url_part); }

Gets all the commands directly from the API BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.