plm CLI リファレンス

plm は、インスタンスの管理者が、コマンドラインからインスタンスを管理するのに便利な、ちょっとした CLI ツールです。

You can see these help messages with plm --help or plm COMMAND --help (where COMMAND is the specific subcommand you are interested in).

If any required argument is ommitted, you will be asked to input manually.

plm instance

Manage instances.

plm instance new

Create a new local instance.

例:

plm instance new --private --domain plu.me --name 'My Plume Instance' -l 'CC-BY'

引数:

Environment variables:

plm users

Manage users.

plm users new

Creates a new user on this instance.

例:

plm users new --admin -n 'kate' -N 'Kate' --bio "I'm Kate." --email 'kate@plu.me'

引数:

plm users reset-password

Resets user password.

例:

plm users reset-password -u 'alice' -p 'top_secret'

引数:

Manage search index.

plm search init

Initialize Plume’s internal search engine.

例:

plm search init -p Plume

引数:

plm search refill

Regenerates the search index.

例:

plm search refill -p Plume

引数:

plm search unlock

Remove lock on the search index, after abnormal termination such as power loss. Only do this if you know no processus is currently using the index.

例:

plm search unlock -p Plume

引数:

plm migration

Manage migrations.

plm migration run

Run migrations.

例:

plm migration run -p Plume

引数:

plm migration redo

Rerun latest migration.

例:

plm migration redo -p Plume

引数: