Skip to content

Commit

Permalink
Unify CLI commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-meyer committed Jan 4, 2024
1 parent 751a0b7 commit 8a66925
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,11 @@
],
"doctrine:initialize-database": [
"@php bin/cli orm:schema-tool:update --complete --force",
"@oai:update-formats --quiet"
],
"oai:update-formats": [
"@php bin/cli oai:formats:update"
"@php bin/cli oai:formats:update --quiet"
]
},
"scripts-descriptions": {
"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!)",
"oai:update-formats": "Updates supported metadata formats from configuration"
"doctrine:initialize-database": "Initializes a new database (NOT RECOMMENDED IN PRODUCTION!)"
}
}
2 changes: 1 addition & 1 deletion config/config.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ database: 'sqlite3:///%BASEDIR%/data/sqlite3.db'
# have the same record in multiple formats, it's highly recommended to use the
# 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!
#
metadataPrefix: {
Expand Down

0 comments on commit 8a66925

Please sign in to comment.