Added ANSI parsers and rendering ANSI frames
This commit is contained in:
@@ -61,6 +61,7 @@ class FrameImport extends Command
|
||||
try {
|
||||
$o = $o->where('frame',$this->argument('frame'))
|
||||
->where('index',$this->argument('index'))
|
||||
->where('mode_id',$this->option('mode'))
|
||||
->firstOrFail();
|
||||
|
||||
} catch (ModelNotFoundException $e) {
|
||||
@@ -71,6 +72,7 @@ class FrameImport extends Command
|
||||
} else {
|
||||
$o->frame = $this->argument('frame');
|
||||
$o->index = $this->argument('index');
|
||||
$o->mode_id = $this->option('mode');
|
||||
}
|
||||
|
||||
$o->content = ($this->option('trim'))
|
||||
@@ -80,7 +82,6 @@ class FrameImport extends Command
|
||||
$o->access = $this->option('access');
|
||||
$o->closed = $this->option('closed');
|
||||
$o->cost = $this->option('cost');
|
||||
$o->mode_id = $this->option('mode');
|
||||
$o->type = $this->option('type');
|
||||
|
||||
$o->save();
|
||||
|
Reference in New Issue
Block a user