I was just deploying this to my staging environment and noticed that it was failing because the ImportColumnBackpackCommand extends a class from the backpack/generators package.
That could be easily fixed by requiring the package or.....I wondered if in order to prevent requiring backpack/generators in a production environment it would be reasonable to only register the command in your ImportOperationProvider if the Class for the BackpackCommand existed. i.e.
if (class_exists('\Backpack\Generators\Services\BackpackCommand')) { $this->commands($this->commands); }
I was just deploying this to my staging environment and noticed that it was failing because the ImportColumnBackpackCommand extends a class from the backpack/generators package. That could be easily fixed by requiring the package or.....I wondered if in order to prevent requiring backpack/generators in a production environment it would be reasonable to only register the command in your ImportOperationProvider if the Class for the BackpackCommand existed. i.e.
if (class_exists('\Backpack\Generators\Services\BackpackCommand')) { $this->commands($this->commands); }