A command line interface for Omeka S
-
Download
omekasc.pharfrom the latest release into a directory that is in your$PATHand make it executablemkdir -p ~/.local/bin wget -O ~/.local/bin/omekasc https://github.com/biblibre/omekasc/releases/download/v0.5.1/omekasc.phar chmod +x ~/.local/bin/omekasc -
Go to Omeka S directory
cd /path/to/omeka -
Use it
# List all commands omekasc list # Get help about a command omekasc help settings:get
help Displays help for a command
list Lists commands
upgrade Run OmekaS upgrade
db:migrate Run pending database migrations
module:activate Activate a module
module:deactivate Deactivate a module
module:install Install a module
module:uninstall Uninstall a module
module:upgrade Upgrade a module
scaffold:module Generates files for a new module
settings:get List Omeka S settings
settings:set Define Omeka S settings
user:set-password Set a new password
GNU General Public License v3.0 or later