Skip to content

Commit 46f4659

Browse files
Merge pull request #6 from dreamsicle-io/develop
Release/0.1.0
2 parents cc00523 + 2506663 commit 46f4659

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

index.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const pkg = require('./package.json');
1414

1515
const defaultArgs = {
1616
themeName: 'WP Theme',
17-
themeTextDomain: 'wp-theme',
1817
themeVersion: '0.0.1',
1918
themeTemplate: '',
2019
themeURI: 'https://github.com/dreamsicle-io/create-wp-theme',
@@ -33,7 +32,6 @@ const defaultArgs = {
3332

3433
const argTypes = {
3534
themeName: 'name',
36-
themeTextDomain: 'textdomain',
3735
themeVersion: 'version',
3836
themeTemplate: 'theme',
3937
themeURI: 'uri',
@@ -52,7 +50,6 @@ const argTypes = {
5250

5351
const argTitles = {
5452
themeName: 'Theme Name',
55-
themeTextDomain: 'Text Domain',
5653
themeVersion: 'Version',
5754
themeTemplate: 'Template',
5855
themeURI: 'Theme URI',
@@ -71,7 +68,6 @@ const argTitles = {
7168

7269
const argDescriptions = {
7370
themeName: 'The theme name',
74-
themeTextDomain: 'The theme text domain',
7571
themeVersion: 'The theme version',
7672
themeTemplate: 'The parent theme if this is a child theme',
7773
themeURI: 'The theme URI',
@@ -90,7 +86,6 @@ const argDescriptions = {
9086

9187
const argAliases = {
9288
themeName: 'N',
93-
themeTextDomain: 'D',
9489
themeVersion: 'X',
9590
themeTemplate: 'T',
9691
themeURI: 'U',
@@ -109,7 +104,6 @@ const argAliases = {
109104

110105
const requiredArgs = [
111106
'themeName',
112-
'themeTextDomain',
113107
];
114108

115109
program.name(getCommandName());

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-wp-theme",
3-
"version": "0.0.2",
3+
"version": "0.1.0",
44
"description": "A command line tool for creating modern, optimized WordPress themes.",
55
"main": "index.js",
66
"bin": {

0 commit comments

Comments
 (0)