theme-claim

0.2.0 • Public • Published

Theme Claim

Rename a WP theme with a quick cli walk-through.

Version

Install

$ yarn add theme-claim --dev

Usage

In a terminal

$ theme-claim --help
 
  Usage
    $ theme-claim
 
  Options
    --config=<path>  Path to config [Default: ./themeclaim.json]
    --ignore=<path>  Specify an additional file or glob to ignore
 
  Examples
    $ theme-claim --config='/build/conf.json' --ignore='**/*.ignore'

Or in a package.json script

"scripts"{
    "rename": "theme-claim",
}

Run the "script"

$ yarn rename

By default, the config is set up for use with an in the works starter theme.

To rename any other theme, create a themeclaim.json and place it in the root of your theme with the following contents. Change the data to match your current theme data exactly (this is the data you're wanting to change).

{
    "from": {
        "Name": "Mythic",
        "Description": "An awesome starter theme for WordPress.",
        "Namespace": "Mythic",
        "Uri": "https://themehybrid.com/themes/mythic",
        "Author": "Justin Tadlock",
        "AuthorEmail": "justintadlock@gmail.com",
        "AuthorUri": "https://themehybrid.com"
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i theme-claim

Weekly Downloads

15

Version

0.2.0

License

GPL-2.0+

Unpacked Size

31.3 kB

Total Files

12

Last publish

Collaborators

  • m-e-h