lw-lms-wp-cli-operations
Installation
SKILL.md
LW LMS: WP-CLI operations
Use this for the day-to-day LW LMS WP-CLI commands introduced in v1.4.0 and verified against local lw-lms v1.6.0. v1.6.0 did not add a CLI command or option. This is not the LearnDash migration command; use lw-lms-learndash-migration for wp lw-lms migrate-learndash.
When to use this skill
Trigger this skill when any of the following is true:
- A task mentions
wp lw-lms course,wp lw-lms lesson,wp lw-lms enroll,wp lw-lms revoke, orwp lw-lms force-complete. - You need to create/list/delete courses or lessons from CLI.
- You need to enroll/revoke a user or force-complete a course from CLI.
- A diff touches files under
includes/CLI/*Command.phpexceptMigrateLearnDashCommand.phpandincludes/CLI/Migration/.
Command catalog
Registered in Plugin::register_cli_commands() only when WP_CLI is defined and truthy.