Я не уверен, на каком уровне существует эта терминология, но в php-framework Laravel есть инструмент командной строки Artisan, который используется для создания cronjob. (aka commands) Когда вы создаете команду. Вы можете указать аргументы И параметры, подобные этому:
/**
* Get the console command arguments.
*
* @return array
*/
protected function getArguments()
{
return array(
array('example', InputArgument::REQUIRED, 'An example argument.'),
);
}
/**
* Get the console command options.
*
* @return array
*/
protected function getOptions()
{
return array(
array('example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null),
);
}
Какая разница между двумя?