diff --git a/src/Commands/ResourcesCommand.php b/src/Commands/ResourcesCommand.php index 6091dde..ccd46d7 100644 --- a/src/Commands/ResourcesCommand.php +++ b/src/Commands/ResourcesCommand.php @@ -110,6 +110,9 @@ class ResourcesCommand extends BaseCommand { $name = $field['name']; $schema = $this->convertArray(str_replace(':', '.', $field['schema']), ' ', ':'); $rules = (isset($field['rules'])) ? trim($field['rules']) : ''; + // Replace space by comma + $rules = str_replace(' ', ',', $rules); + $tags = $this->convertArray($field['tags'], ' ', ','); $string = "{$name};{$schema};{$rules};{$tags}";