Spell out what the drush commands are on the module page/readme

Created on 12 June 2024, 4 months ago
Updated 25 June 2024, 3 months ago

I'd like to be able to automate the import of my module_usage json file on startup of my local environment. The module page mentions that there are drush commands, but doesn't say anything about what they are.

Looking into the code, I could tell the import/export commands were drush moduse:import and drush moduse:export. I ran the import and got a success message and a "Import complete" message but it didn't seem to do anything. I tried to supply my exported file as an argument of the import command, but that failed.

I had to import via the UI, which is fine, but, like I said, I'd like to automate the import because otherwise it's very likely to get forgotten. Even the information about where to find import/export in the UI is not included on the D.o module page β€” it only appears in the readme on drupalcode.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Documentation

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024