{"id":21700150,"url":"https://github.com/wp-digital/wp-cli-scaffold-theme-command","last_synced_at":"2025-07-06T08:02:13.097Z","repository":{"id":56991692,"uuid":"161665815","full_name":"wp-digital/wp-cli-scaffold-theme-command","owner":"wp-digital","description":null,"archived":false,"fork":false,"pushed_at":"2019-10-25T11:31:30.000Z","size":66,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-19T01:48:50.132Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wp-digital.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-13T16:28:43.000Z","updated_at":"2023-07-23T15:15:58.000Z","dependencies_parsed_at":"2022-08-21T12:20:39.686Z","dependency_job_id":null,"html_url":"https://github.com/wp-digital/wp-cli-scaffold-theme-command","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/wp-digital/wp-cli-scaffold-theme-command","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Fwp-cli-scaffold-theme-command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Fwp-cli-scaffold-theme-command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Fwp-cli-scaffold-theme-command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Fwp-cli-scaffold-theme-command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wp-digital","download_url":"https://codeload.github.com/wp-digital/wp-cli-scaffold-theme-command/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Fwp-cli-scaffold-theme-command/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262170859,"owners_count":23269731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T20:13:01.603Z","updated_at":"2025-07-06T08:02:13.056Z","avatar_url":"https://github.com/wp-digital.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"innocode-digital/wp-cli-scaffold-theme-command\n==============================================\n\nQuick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing)\n\n## Using\n\nThis package implements the following command:\n\n### wp scaffold theme\n\nGenerates starter code for a theme based on Innocode theme skeleton.\n\n    wp scaffold theme \u003cslug\u003e [--activate] [--enable-network] [--name=\u003ctitle\u003e] [--author=\u003cfull-name\u003e] [--author_uri=\u003curi\u003e] [--force]\n\nSee the [WP Theme Skeleton](https://github.com/innocode-digital/wp-theme-skeleton) for more details.\n\n**OPTIONS**\n\n\t\u003cslug\u003e\n        The slug for the new theme.\n\n\t[--activate]\n        Activate the newly downloaded theme.\n\n\t[--enable-network]\n        Enable the newly downloaded theme for the entire network.\n\n\t[--name=\u003ctitle\u003e]\n        What to put in the 'Theme Name:' header in 'style.css'. Default is \u003cslug\u003e with uppercase first letter.\n\t\t\n    [--version=\u003cversion\u003e]\n        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'.\n        \n    [--description=\u003ctext\u003e]\n        What to put in the 'Description:' header in 'style.css' and in the 'description' property in 'composer.json' and 'package.json' files. Default is ''.\n\n\t[--author=\u003cfull-name\u003e]\n        What to put in the 'Author:' header in 'style.css'. Default is 'Innocode'.\n\n\t[--author_uri=\u003curi\u003e]\n        What to put in the 'Author URI:' header in 'style.css'. Default is 'https://innocode.com/'.\n\n    [--text_domain=\u003cdomain\u003e]\n        What to put in the 'Text Domain:' header in 'style.css'. Default is \u003cslug\u003e.\n        \n    [--repo=\u003cslug\u003e]\n        What is a repo on Github for this project. Default is 'innocode-digital/\u003cslug\u003e'.\n\n\t[--force]\n        Overwrite files that already exist.\n        \n\t[--skeleton_source=\u003csource\u003e]\n\t\tWhat is a source of skeleton theme. Possible values are 'github' and 'zip'. Default is 'github'.\n    \n    [--source_username=\u003cusername\u003e]\n    \tWhat is a username on Github. Default is 'innocode-digital'.\n    \n    [--source_repo=\u003crepo\u003e]\n\t\tWhat is a repository on Github. No need to use it when \u003cskeleton_source\u003e is 'zip'. Default is 'wp-theme-skeleton'.\n    \n    [--source_url=\u003curl\u003e]\n    \tWhat is an URL of source. Applicable only when \u003cskeleton_source\u003e is 'zip'.\n    \n    [--skip-env]\n    \tDon't generate .env file.\n    \n    [--skip-install-notice]\n    \tDon't show notice about need to run installation commands.\n\n## Installing\n\nInstalling this package requires WP-CLI v2.0.0 or greater. Update to the latest stable release with `wp cli update`.\n\nOnce you've done so, you can install this package with:\n\n    wp package install innocode-digital/wp-cli-scaffold-theme-command\n    \nTo be able to authenticate to Github, so it will be possible to retrieve your user data and insert \ninto `composer.json` as author as well as into `package.json` as contributor during scaffolding and \nalso in case when you want to use private skeleton repository, you need to add token with one of \nthe following methods:\n\n* Add to your local `auth.json` OAuth token from the command line:\n\n~~~\ncomposer config -g github-oauth.github.com xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n~~~\n\n* Add to your local `auth.json` OAuth token manually in `$HOME/.composer/auth.json`:\n\n~~~\n{\n    \"github-oauth\": {\n        \"github.com\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n    }\n}\n~~~\n    \n* Define `GITHUB_PAT` constant in `wp-config.php`:\n\n~~~\ndefine( 'GITHUB_PAT', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' );\n~~~\n\nTo generate token go to [Settings / Developer settings](https://github.com/settings/tokens). \nToken should has at least next scopes:\n\n* `repo` - Full control of private repositories\n* `user`\n    * `read:user` - Read all user profile data\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-digital%2Fwp-cli-scaffold-theme-command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwp-digital%2Fwp-cli-scaffold-theme-command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-digital%2Fwp-cli-scaffold-theme-command/lists"}