0.2.0 • Published 5 years ago

theme-claim v0.2.0

Weekly downloads
24
License
GPL-2.0+
Repository
github
Last release
5 years ago

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"
	}
}
0.2.0

5 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago