Skip to content

Commit

Permalink
Extract core CLI package.
Browse files Browse the repository at this point in the history
  • Loading branch information
wpscholar committed Sep 29, 2021
1 parent eccb0ad commit 699cd6b
Show file tree
Hide file tree
Showing 56 changed files with 72 additions and 4,756 deletions.
4 changes: 2 additions & 2 deletions command.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use WP_Forge\Command\Package;
use WP_Forge\WP_Scaffolding_Tool\Package;

if ( ! class_exists( 'WP_CLI' ) ) {
return;
Expand All @@ -16,6 +16,6 @@
'template_config_filename' => 'config.json',
'project_config_filename' => '.wp-forge.json',
'global_config_filename' => '.wp-forge.json',
'default_template_repo' => 'https://github.com/wp-forge/scaffolding-templates',
'default_template_repo' => 'https://github.com/wp-forge/scaffolding-templates.git',
)
);
16 changes: 3 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A zero-config scaffolding tool for WordPress.",
"type": "wp-cli-package",
"homepage": "https://github.com/wp-forge/wp-cli-forge-command",
"license": "MIT",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Micah Wood",
Expand All @@ -12,25 +12,15 @@
}
],
"require": {
"php": ">=7.0",
"league/climate": "^3.7",
"league/flysystem": "^2.1",
"mustache/mustache": "^2.13",
"wpscholar/collection": "^1.0",
"wp-forge/container": "^1.0",
"wp-forge/data-store": "^1.0",
"wp-forge/helpers": "^1.1"
"wp-forge/wp-scaffolding-tool": "^1.0"
},
"require-dev": {
"wpscholar/phpcs-standards-wpscholar": "^1.0"
},
"autoload": {
"files": [
"command.php"
],
"psr-4": {
"WP_Forge\\Command\\": "includes"
}
]
},
"scripts": {
"lint": [
Expand Down
82 changes: 66 additions & 16 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

82 changes: 0 additions & 82 deletions includes/AbstractCommand.php

This file was deleted.

Loading

0 comments on commit 699cd6b

Please sign in to comment.