Unify CLI commands
This commit is contained in:
parent
751a0b7b05
commit
8a6692513f
|
@ -71,16 +71,11 @@
|
||||||
],
|
],
|
||||||
"doctrine:initialize-database": [
|
"doctrine:initialize-database": [
|
||||||
"@php bin/cli orm:schema-tool:update --complete --force",
|
"@php bin/cli orm:schema-tool:update --complete --force",
|
||||||
"@oai:update-formats --quiet"
|
"@php bin/cli oai:formats:update --quiet"
|
||||||
],
|
|
||||||
"oai:update-formats": [
|
|
||||||
"@php bin/cli oai:formats:update"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"scripts-descriptions": {
|
"scripts-descriptions": {
|
||||||
"doctrine:clear-cache": "Clears the Doctrine/ORM metadata, query and result caches",
|
"doctrine:clear-cache": "Clears the Doctrine/ORM metadata, query and result caches",
|
||||||
"doctrine:generate-proxies": "Generates the Doctrine/ORM entity proxies",
|
"doctrine:initialize-database": "Initializes a new database (NOT RECOMMENDED IN PRODUCTION!)"
|
||||||
"doctrine:initialize-database": "Initializes a new database (NOT RECOMMENDED IN PRODUCTION!)",
|
|
||||||
"oai:update-formats": "Updates supported metadata formats from configuration"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,7 +62,7 @@ database: 'sqlite3:///%BASEDIR%/data/sqlite3.db'
|
||||||
# have the same record in multiple formats, it's highly recommended to use the
|
# have the same record in multiple formats, it's highly recommended to use the
|
||||||
# same identifier for all versions of the record.
|
# same identifier for all versions of the record.
|
||||||
#
|
#
|
||||||
# Run "composer oai:update-formats" after changing metadata prefixes to update
|
# Run "bin/cli oai:formats:update" after changing metadata prefixes to update
|
||||||
# the database accordingly!
|
# the database accordingly!
|
||||||
#
|
#
|
||||||
metadataPrefix: {
|
metadataPrefix: {
|
||||||
|
|
Loading…
Reference in New Issue