@fishawack/lab-env 4.31.0 → 4.32.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## Changelog
2
2
 
3
+ ### 4.32.0 (2024-07-12)
4
+ * [Feature] added ci flag to skip creating ssh keys
5
+
3
6
  ### 4.31.0 (2024-07-12)
4
7
  * [Feature] added legacy flag for diagnosis to skip unneccessary steps
5
8
  * [Feature] added -y and -p flags to diag to skip prompts
@@ -30,6 +30,11 @@ module.exports = [
30
30
  describe: 'Run the legacy diagnosis steps. When omitted it will be default true for permanent users and false for everyone else',
31
31
  type: "boolean"
32
32
  });
33
+
34
+ yargs.option('ci', {
35
+ describe: 'Optimized for non-interactive performance',
36
+ type: "boolean"
37
+ });
33
38
  },
34
39
  async argv => {
35
40
  try{
@@ -49,8 +54,10 @@ module.exports = [
49
54
  await guide.ssh(argv);
50
55
  };
51
56
 
52
- while(!await test.key()){
53
- await guide.key(argv);
57
+ if(!argv.ci){
58
+ while(!await test.key()){
59
+ await guide.key(argv);
60
+ }
54
61
  }
55
62
 
56
63
  while(!await test.config()){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishawack/lab-env",
3
- "version": "4.31.0",
3
+ "version": "4.32.0",
4
4
  "description": "Docker manager for FW",
5
5
  "main": "cli.js",
6
6
  "scripts": {