option('from'); $to = (string) $this->option('to'); try { $result = $importer->import( $from, $to, (int) $this->option('company'), (bool) $this->option('replace'), 'jst-order-label-import', ); } catch (Throwable $exception) { $this->error($exception->getMessage()); return self::FAILURE; } $this->info(json_encode($result, JSON_UNESCAPED_UNICODE)); return self::SUCCESS; } }