From eac6762e75355ebaa6e22c086f74b0c5b5f65774 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 21 Nov 2023 12:54:14 +0100 Subject: [PATCH] Add missing documentation (#451) --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ composer.json | 2 ++ 2 files changed, 40 insertions(+) diff --git a/README.md b/README.md index e497ca6a..3045318c 100644 --- a/README.md +++ b/README.md @@ -2035,6 +2035,44 @@ wp option update [] [--autoload=] [--format=] +### wp option set-autoload + +Sets the 'autoload' value for an option. + +~~~ +wp option set-autoload +~~~ + +**OPTIONS** + + + The name of the option to set 'autoload' for. + + + Should this option be automatically loaded. + --- + options: + - 'yes' + - 'no' + --- + + + +### wp option get-autoload + +Gets the 'autoload' value for an option. + +~~~ +wp option get-autoload +~~~ + +**OPTIONS** + + + The name of the option to get 'autoload' of. + + + ### wp post Manages posts, content, and meta. diff --git a/composer.json b/composer.json index 1bef351b..dbbf3e05 100644 --- a/composer.json +++ b/composer.json @@ -92,6 +92,8 @@ "option patch", "option pluck", "option update", + "option set-autoload", + "option get-autoload", "post", "post create", "post delete",