PHPackages                             innocode-digital/wp-cli-scaffold-theme-command - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. innocode-digital/wp-cli-scaffold-theme-command

ActiveWp-cli-package[CLI &amp; Console](/categories/cli)

innocode-digital/wp-cli-scaffold-theme-command
==============================================

Generates starter code for a theme based on Innocode theme skeleton.

1.5.1(6y ago)28.5kMITPHP

Since Oct 21Pushed 6y ago3 watchersCompare

[ Source](https://github.com/innocode-digital/wp-cli-scaffold-theme-command)[ Packagist](https://packagist.org/packages/innocode-digital/wp-cli-scaffold-theme-command)[ Docs](https://github.com/innocode-digital/wp-cli-scaffold-theme-command)[ RSS](/packages/innocode-digital-wp-cli-scaffold-theme-command/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (7)Versions (8)Used By (0)

innocode-digital/wp-cli-scaffold-theme-command
==============================================

[](#innocode-digitalwp-cli-scaffold-theme-command)

Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing)

Using
-----

[](#using)

This package implements the following command:

### wp scaffold theme

[](#wp-scaffold-theme)

Generates starter code for a theme based on Innocode theme skeleton.

```
wp scaffold theme  [--activate] [--enable-network] [--name=] [--author=] [--author_uri=] [--force]

```

See the [WP Theme Skeleton](https://github.com/innocode-digital/wp-theme-skeleton) for more details.

**OPTIONS**

```

    The slug for the new theme.

[--activate]
    Activate the newly downloaded theme.

[--enable-network]
    Enable the newly downloaded theme for the entire network.

[--name=]
    What to put in the 'Theme Name:' header in 'style.css'. Default is  with uppercase first letter.

[--version=]
    What to put in the 'Version:' header in 'style.css' and in the 'version' property in 'composer.json' and 'package.json' files. Default is '1.0.0'.

[--description=]
    What to put in the 'Description:' header in 'style.css' and in the 'description' property in 'composer.json' and 'package.json' files. Default is ''.

[--author=]
    What to put in the 'Author:' header in 'style.css'. Default is 'Innocode'.

[--author_uri=]
    What to put in the 'Author URI:' header in 'style.css'. Default is 'https://innocode.com/'.

[--text_domain=]
    What to put in the 'Text Domain:' header in 'style.css'. Default is .

[--repo=]
    What is a repo on Github for this project. Default is 'innocode-digital/'.

[--force]
    Overwrite files that already exist.

[--skeleton_source=]
	What is a source of skeleton theme. Possible values are 'github' and 'zip'. Default is 'github'.

[--source_username=]
	What is a username on Github. Default is 'innocode-digital'.

[--source_repo=]
	What is a repository on Github. No need to use it when  is 'zip'. Default is 'wp-theme-skeleton'.

[--source_url=]
	What is an URL of source. Applicable only when  is 'zip'.

[--skip-env]
	Don't generate .env file.

[--skip-install-notice]
	Don't show notice about need to run installation commands.

```

Installing
----------

[](#installing)

Installing this package requires WP-CLI v2.0.0 or greater. Update to the latest stable release with `wp cli update`.

Once you've done so, you can install this package with:

```
wp package install innocode-digital/wp-cli-scaffold-theme-command

```

To be able to authenticate to Github, so it will be possible to retrieve your user data and insert into `composer.json` as author as well as into `package.json` as contributor during scaffolding and also in case when you want to use private skeleton repository, you need to add token with one of the following methods:

- Add to your local `auth.json` OAuth token from the command line:

```
composer config -g github-oauth.github.com xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

```

- Add to your local `auth.json` OAuth token manually in `$HOME/.composer/auth.json`:

```
{
    "github-oauth": {
        "github.com": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    }
}

```

- Define `GITHUB_PAT` constant in `wp-config.php`:

```
define( 'GITHUB_PAT', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' );

```

To generate token go to [Settings / Developer settings](https://github.com/settings/tokens). Token should has at least next scopes:

- `repo` - Full control of private repositories
- `user`
    - `read:user` - Read all user profile data

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

7

Last Release

2394d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b52f801a1cdb5f6622a9e49f4359717b1808ca23e948a243eae225f55e2c7eb?d=identicon)[smfb-dinamo](/maintainers/smfb-dinamo)

---

Top Contributors

[![kuliebiakin](https://avatars.githubusercontent.com/u/6066592?v=4)](https://github.com/kuliebiakin "kuliebiakin (30 commits)")

###  Code Quality

TestsBehat

### Embed Badge

![Health badge](/badges/innocode-digital-wp-cli-scaffold-theme-command/health.svg)

```
[![Health](https://phpackages.com/badges/innocode-digital-wp-cli-scaffold-theme-command/health.svg)](https://phpackages.com/packages/innocode-digital-wp-cli-scaffold-theme-command)
```

###  Alternatives

[wp-cli/i18n-command

Provides internationalization tools for WordPress projects.

11610.4M52](/packages/wp-cli-i18n-command)[wp-cli/entity-command

Manage WordPress comments, menus, options, posts, sites, terms, and users.

1048.8M55](/packages/wp-cli-entity-command)[wp-cli/scaffold-command

Generates code for post types, taxonomies, blocks, plugins, child themes, etc.

1717.7M15](/packages/wp-cli-scaffold-command)[wp-cli/extension-command

Manages plugins and themes, including installs, activations, and updates.

919.0M53](/packages/wp-cli-extension-command)[wp-cli/wp-cli-bundle

WP-CLI bundle package with default commands.

896.3M131](/packages/wp-cli-wp-cli-bundle)[wp-cli/db-command

Performs basic database operations using credentials stored in wp-config.php.

768.0M30](/packages/wp-cli-db-command)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
