Skip to content

Commit

Permalink
Merge pull request #7430 from ampproject/add/plugin-settings-wp-cli-c…
Browse files Browse the repository at this point in the history
…ommand

Add `amp option` wp cli command to manage plugin options
  • Loading branch information
westonruter authored Feb 3, 2023
2 parents c28b8f1 + 68bc2ac commit 68d9bb3
Show file tree
Hide file tree
Showing 10 changed files with 873 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ trim_trailing_whitespace = true
indent_style = tab
indent_size = 4

[{.babelrc,.eslintrc,.rtlcssrc,*.json,*.yml}]
[{.rtlcssrc,*.json,*.yml,*.feature}]
indent_style = space
indent_size = 2

Expand Down
22 changes: 11 additions & 11 deletions .rtlcssrc
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"options": {
"autoRename": false,
"autoRenameStrict": false,
"blacklist":{},
"clean": true,
"greedy": false,
"processUrls": false,
"stringMap":[]
},
"plugins": [ ],
"map": false
"options": {
"autoRename": false,
"autoRenameStrict": false,
"blacklist": {},
"clean": true,
"greedy": false,
"processUrls": false,
"stringMap": []
},
"plugins": [],
"map": false
}
1 change: 1 addition & 0 deletions src/AmpWpPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ final class AmpWpPlugin extends ServiceBasedPlugin {
'cli.optimizer_command' => Cli\OptimizerCommand::class,
'cli.transformer_command' => Cli\TransformerCommand::class,
'cli.validation_command' => Cli\ValidationCommand::class,
'cli.option_command' => Cli\OptionCommand::class,
'css_transient_cache.ajax_handler' => Admin\ReenableCssTransientCachingAjaxAction::class,
'css_transient_cache.monitor' => BackgroundTask\MonitorCssTransientCaching::class,
'dependency_support' => DependencySupport::class,
Expand Down
Loading

0 comments on commit 68d9bb3

Please sign in to comment.