I plan on travelling from Bolivia into Western Brazil (Caceres or Cuiaba in Mato Grosso) from Santa Cruz, Bolivia.  I have heard that there are a couple of border cities into which to pass over to Brazil. 

Does anyone know which is the safest/easiest way to go through?

If so, is travelling by bus the only way? I've heard there's also a train that leaves from Santa Cruz to Brazil, via Corumba? Is this currently running? Does anyone have experience travelling to Brazil like this?


Question: Laravel resource generation with sublime text 3 RuntimeException Aborted
Answer: You can find file with name ResourceGeneratorCommand.php in local: vendor\way\generators\src\Way\Generators\Commands

and comment all the code if($this-&gt;confirm....)

or you can copy all the code to reply all with code:

&lt;?php 
namespace Way\Generators\Commands;

use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;

class ResourceGeneratorCommand extends Command {

    /**
     * The console command name.
     *
     * @var string
     */
    protected $name = 'generate:resource';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Generate a new resource';

    /**
     * Generate a resource
     *
     * @return mixed
     */
    public function fire()
    {
        $resource = $this-&gt;argument('resource');

        $this-&gt;callModel($resource);
        $this-&gt;callView($resource);
        $this-&gt;callController($resource);
        $this-&gt;callMigration($resource);
        $this-&gt;callSeeder($resource);
        $this-&gt;callMigrate();

        // All done!
        $this-&gt;info(sprintf(
            "All done! Don't forget to add '%s` to %s." . PHP_EOL,
            "Route::resource('{$this-&gt;getTableName($resource)}', '{$this-&gt;getControllerName($resource)}');",
            "app/routes.php"
        ));

    }

    /**
     * Get the name for the model
     *
     * @param $resource
     * @return string
     */
    protected function getModelName($resource)
    {
        return ucwords(str_singular(camel_case($resource)));
    }

    /**
     * Get the name for the controller
     *
     * @param $resource
     * @return string
     */
    protected function getControllerName($resource)
    {
        return ucwords(str_plural(camel_case($resource))) . 'Controller';
    }

    /**
     * Get the DB table name
     *
     * @param $resource
     * @return string
     */
    protected function getTableName($resource)
    {
        return str_plural($resource);
    }

    /**
     * Get the name for the migration
     *
     * @param $resource
     * @return string
     */
    protected function getMigrationName($resource)
    {
        return "create_" . str_plural($resource) . "_table";
    }

    /**
     * Call model generator if user confirms
     *
     * @param $resource
     */
    protected function callModel($resource)
    {
        $modelName = $this-&gt;getModelName($resource);

        // if ($this-&gt;confirm("Do you want me to create a $modelName model? [yes|no]"))
        // {
            $this-&gt;call('generate:model', compact('modelName'));
        // }
    }

    /**
     * Call view generator if user confirms
     *
     * @param $resource
     */
    protected function callView($resource)
    {
        $collection = $this-&gt;getTableName($resource);
        $modelName = $this-&gt;getModelName($resource);

        // if ($this-&gt;confirm("Do you want me to create views for this $modelName resource? [yes|no]"))
        // {
            foreach(['index', 'show', 'create', 'edit'] as $viewName)
            {
                $viewName = "{$collection}.{$viewName}";

                $this-&gt;call('generate:view', compact('viewName'));
            }
        // }
    }

    /**
     * Call controller generator if user confirms
     *
     * @param $resource
     */
    protected function callController($resource)
    {
        $controllerName = $this-&gt;getControllerName($resource);

        // if ($this-&gt;confirm("Do you want me to create a $controllerName controller? [yes|no]"))
        // {
            $this-&gt;call('generate:controller', compact('controllerName'));
        // }
    }

    /**
     * Call migration generator if user confirms
     *
     * @param $resource
     */
    protected function callMigration($resource)
    {
        $migrationName = $this-&gt;getMigrationName($resource);

        // if ($this-&gt;confirm("Do you want me to create a '$migrationName' migration and schema for this resource? [yes|no]"))
        // {
            $this-&gt;call('generate:migration', [
                'migrationName' =&gt; $migrationName,
                '--fields' =&gt; $this-&gt;option('fields')
            ]);
        // }
    }

    /**
     * Call seeder generator if user confirms
     *
     * @param $resource
     */
    protected function callSeeder($resource)
    {
        $tableName = str_plural($this-&gt;getModelName($resource));

        // if ($this-&gt;confirm("Would you like a '$tableName' table seeder? [yes|no]"))
        // {
            $this-&gt;call('generate:seed', compact('tableName'));
        // }
    }

    /**
     * Migrate database if user confirms
     */
    protected function callMigrate()
    {
        // if ($this-&gt;confirm('Do you want to go ahead and migrate the database? [yes|no]')) {
            $this-&gt;call('migrate');
            $this-&gt;info('Done!');
        // }
    }

    /**
     * Get the console command arguments.
     *
     * @return array
     */
    protected function getArguments()
    {
        return [
            ['resource', InputArgument::REQUIRED, 'Singular resource name']
        ];
    }

    /**
     * Get the console command options.
     *
     * @return array
     */
    protected function getOptions()
    {
        return [
            ['fields', null, InputOption::VALUE_OPTIONAL, 'Fields for the migration']
        ];
    }

}


try again now!
hope helpful for you!