yourtar-cli 1.0.0 → 1.0.2

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/Readme.md ADDED
@@ -0,0 +1,15 @@
1
+ CLI YourTar
2
+ -------
3
+ CLI YourTar - это интерфейс для командной строки, позволяющий автоматизировать рутинные действия при разработке продуктов YourTar.
4
+ Данный cli основан на NodeJS и управляется благодаря npx.
5
+
6
+ _**Перечень команд:**_
7
+
8
+ - Создание проекта:
9
+ ```
10
+ npx yt create
11
+ ```
12
+ - Чтобы получить справку по cli:
13
+ ```
14
+ npx yt
15
+ ```
package/bin/index.js CHANGED
@@ -15,6 +15,7 @@ programm
15
15
  .description(pjson.description);
16
16
 
17
17
  programm.command('create')
18
+ .description('This command create a new project our template based (ReactJS for front-end or Symfony for back-end)')
18
19
  .alias('c')
19
20
  .action(() => {
20
21
  inquirer.prompt([
@@ -54,6 +55,8 @@ programm.command('create')
54
55
  console.error("ERROR!!! We don't know about this type: " + answers.platform);
55
56
  }
56
57
 
58
+ await exec('chmod -R 644 ./' + projectFolder);
59
+
57
60
  await copyTemplate(templateFolder, './' + projectFolder, answers.name);
58
61
 
59
62
  switch(answers.platform) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yourtar-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "This CLI for YourTar developers and our clients ;-)",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {