Mojopollo\Schema\Commands\MakeMigrationJsonCommand::getOptions PHP Method

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array
    protected function getOptions()
    {
        // Return all available options
        return [['file', null, InputOption::VALUE_OPTIONAL, 'The file path to the JSON schema', null], ['only', null, InputOption::VALUE_OPTIONAL, 'Filter by migration name, example: --only=cats,birds', null], ['validate', null, InputOption::VALUE_NONE, 'Validate schema in json file and report any problems'], ['undo', null, InputOption::VALUE_NONE, 'Undo and remove all files generated from last command'], ['disableundo', null, InputOption::VALUE_NONE, 'Do not create a "undo" file']];
    }