@dasidev/dasi-ui 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/dasi-cli.cjs +10 -10
- package/package.json +1 -1
package/bin/dasi-cli.cjs
CHANGED
|
@@ -9,15 +9,15 @@ const { execSync } = require('child_process');
|
|
|
9
9
|
|
|
10
10
|
program
|
|
11
11
|
.name('dasi-ui')
|
|
12
|
-
.description('🚀 DASI UI -
|
|
13
|
-
.version('1.0.
|
|
12
|
+
.description('🚀 DASI UI - Admin Dashboard Template')
|
|
13
|
+
.version('1.0.13');
|
|
14
14
|
|
|
15
15
|
program
|
|
16
16
|
.command('create [project-name]')
|
|
17
17
|
.description('Create a new DASI UI admin dashboard')
|
|
18
18
|
.action(async (projectName) => {
|
|
19
19
|
console.log(chalk.blue.bold('🚀 Welcome to DASI UI Admin Template Setup'));
|
|
20
|
-
console.log(chalk.gray('This will set up a
|
|
20
|
+
console.log(chalk.gray('This will set up a admin dashboard in your current directory\n'));
|
|
21
21
|
|
|
22
22
|
console.log(chalk.blue.bold(`
|
|
23
23
|
╔══════════════════════════════════════════════════════════════╗
|
|
@@ -30,13 +30,13 @@ program
|
|
|
30
30
|
`));
|
|
31
31
|
|
|
32
32
|
const questions = [
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
{
|
|
34
|
+
type: 'input',
|
|
35
|
+
name: 'projectName',
|
|
36
|
+
message: '📦 Project name:',
|
|
37
|
+
default: projectName,
|
|
38
|
+
validate: (input) => input.length > 0 || 'Project name is required'
|
|
39
|
+
},
|
|
40
40
|
{
|
|
41
41
|
type: 'input',
|
|
42
42
|
name: 'appTitle',
|