/**
 *  取得 route 處理之後獲得的參數
 *
 *  @see https://github.com/pwfisher/CommandLine.php
 */
function attrib($key, $defaultValue = null)
{
    $args = Tool\LoadHelper::getArgs();
    if (isset($args[$key])) {
        return $args[$key];
    }
    return $defaultValue;
}