penguins-eggs 9.0.31 → 9.1.10

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.
Files changed (153) hide show
  1. package/README.md +488 -28
  2. package/assets/leaves.svg +1 -0
  3. package/assets/live-installer/com.github.pieroproietti.penguins-eggs.policy +25 -0
  4. package/assets/live-installer/filesystem.packages-remove +49 -0
  5. package/assets/penguins-live-installer.desktop +27 -0
  6. package/conf/distros/buster/calamares/modules/bootloader.yml +3 -1
  7. package/conf/eggs.yaml +9 -2
  8. package/lib/classes/bleach.js +2 -2
  9. package/lib/classes/compressors.js +1 -1
  10. package/lib/classes/daddy.js +30 -30
  11. package/lib/classes/distro.d.ts +5 -3
  12. package/lib/classes/distro.js +78 -80
  13. package/lib/classes/family/archlinux.js +4 -4
  14. package/lib/classes/family/debian.d.ts +4 -0
  15. package/lib/classes/family/debian.js +13 -6
  16. package/lib/classes/family/fedora.js +4 -4
  17. package/lib/classes/family/suse.js +4 -4
  18. package/lib/classes/i18n.d.ts +28 -4
  19. package/lib/classes/i18n.js +112 -84
  20. package/lib/classes/incubation/branding.js +13 -7
  21. package/lib/classes/incubation/distros/bionic.js +1 -1
  22. package/lib/classes/incubation/distros/buster.js +1 -1
  23. package/lib/classes/incubation/distros/focal.js +1 -1
  24. package/lib/classes/incubation/distros/jessie.js +1 -1
  25. package/lib/classes/incubation/distros/rolling.js +1 -1
  26. package/lib/classes/incubation/fisherman-helper/displaymanager.js +1 -1
  27. package/lib/classes/incubation/fisherman-helper/packages.js +2 -2
  28. package/lib/classes/incubation/fisherman.js +5 -5
  29. package/lib/classes/incubation/incubator.js +5 -5
  30. package/lib/classes/incubation/installer.d.ts +1 -1
  31. package/lib/classes/incubation/installer.js +4 -4
  32. package/lib/classes/initrd.js +2 -2
  33. package/lib/classes/keyboards.d.ts +45 -0
  34. package/lib/classes/keyboards.js +196 -0
  35. package/lib/classes/krill_install.d.ts +5 -0
  36. package/lib/classes/krill_install.js +46 -14
  37. package/lib/classes/krill_prepare.d.ts +4 -0
  38. package/lib/classes/krill_prepare.js +56 -77
  39. package/lib/classes/locales.d.ts +14 -0
  40. package/lib/classes/locales.js +54 -0
  41. package/lib/classes/n8.js +1 -1
  42. package/lib/classes/ovary.d.ts +6 -1
  43. package/lib/classes/ovary.js +77 -60
  44. package/lib/classes/pacman.d.ts +1 -1
  45. package/lib/classes/pacman.js +40 -40
  46. package/lib/classes/pve-live.js +12 -16
  47. package/lib/classes/settings.d.ts +6 -0
  48. package/lib/classes/settings.js +13 -16
  49. package/lib/classes/sources_list.d.ts +27 -0
  50. package/lib/classes/sources_list.js +103 -0
  51. package/lib/classes/systemctl.js +1 -1
  52. package/lib/classes/tailor.d.ts +41 -0
  53. package/lib/classes/tailor.js +356 -0
  54. package/lib/classes/tools.js +4 -4
  55. package/lib/classes/users.js +1 -1
  56. package/lib/classes/utils.d.ts +16 -3
  57. package/lib/classes/utils.js +74 -36
  58. package/lib/classes/xdg.d.ts +2 -1
  59. package/lib/classes/xdg.js +56 -131
  60. package/lib/classes/yolk.d.ts +8 -7
  61. package/lib/classes/yolk.js +35 -38
  62. package/lib/commands/adapt.js +1 -1
  63. package/lib/commands/analyze.js +2 -2
  64. package/lib/commands/bro.js +2 -2
  65. package/lib/commands/calamares.js +4 -4
  66. package/lib/commands/config.js +8 -6
  67. package/lib/commands/dad.js +2 -2
  68. package/lib/commands/export/deb.js +2 -2
  69. package/lib/commands/export/docs.js +2 -2
  70. package/lib/commands/export/iso.js +2 -2
  71. package/lib/commands/info.js +2 -2
  72. package/lib/commands/install.js +5 -5
  73. package/lib/commands/kill.js +2 -2
  74. package/lib/commands/mom.js +2 -2
  75. package/lib/commands/produce.js +9 -9
  76. package/lib/commands/remove.js +2 -2
  77. package/lib/commands/syncfrom.d.ts +9 -3
  78. package/lib/commands/syncfrom.js +39 -32
  79. package/lib/commands/syncto.d.ts +26 -6
  80. package/lib/commands/syncto.js +73 -50
  81. package/lib/commands/tools/clean.js +2 -2
  82. package/lib/commands/tools/locales.js +9 -4
  83. package/lib/commands/tools/skel.js +2 -2
  84. package/lib/commands/tools/stat.js +3 -3
  85. package/lib/commands/tools/yolk.js +4 -4
  86. package/lib/commands/update.d.ts +0 -2
  87. package/lib/commands/update.js +7 -56
  88. package/lib/commands/wardrobe/get.d.ts +17 -0
  89. package/lib/commands/wardrobe/get.js +43 -0
  90. package/lib/commands/wardrobe/ironing.d.ts +15 -0
  91. package/lib/commands/wardrobe/ironing.js +125 -0
  92. package/lib/commands/wardrobe/list.d.ts +17 -0
  93. package/lib/commands/wardrobe/list.js +81 -0
  94. package/lib/commands/wardrobe/show.d.ts +19 -0
  95. package/lib/commands/wardrobe/show.js +71 -0
  96. package/lib/commands/wardrobe/wear.d.ts +20 -0
  97. package/lib/commands/wardrobe/wear.js +79 -0
  98. package/lib/components/elements/information.js +41 -34
  99. package/lib/components/elements/steps.js +1 -1
  100. package/lib/components/elements/title.js +5 -4
  101. package/lib/components/finished.js +6 -5
  102. package/lib/components/install.js +5 -5
  103. package/lib/components/keyboard.js +5 -8
  104. package/lib/components/location.js +5 -5
  105. package/lib/components/network.js +6 -5
  106. package/lib/components/partitions.js +5 -5
  107. package/lib/components/summary.js +5 -5
  108. package/lib/components/users.js +5 -5
  109. package/lib/components/welcome.js +7 -7
  110. package/lib/interfaces/i-costume.d.ts +27 -0
  111. package/lib/interfaces/i-costume.js +2 -0
  112. package/lib/interfaces/i-distro.d.ts +4 -2
  113. package/lib/interfaces/i-installer.d.ts +1 -1
  114. package/lib/interfaces/i-krill.d.ts +1 -0
  115. package/lib/interfaces/i-materia.d.ts +32 -0
  116. package/lib/interfaces/i-materia.js +2 -0
  117. package/lib/interfaces/i-packages.d.ts +13 -0
  118. package/lib/interfaces/i-packages.js +2 -0
  119. package/lib/interfaces/i-xkb-model.d.ts +17 -0
  120. package/lib/interfaces/i-xkb-model.js +2 -0
  121. package/lib/interfaces/index.d.ts +2 -0
  122. package/lib/lib/cli-autologin.js +3 -3
  123. package/lib/lib/select_address_type.js +1 -1
  124. package/lib/lib/select_filesystem_type.js +2 -2
  125. package/lib/lib/select_installation_device.js +1 -1
  126. package/lib/lib/select_interface.js +1 -1
  127. package/lib/lib/select_keyboard_layout.d.ts +1 -28
  128. package/lib/lib/select_keyboard_layout.js +18 -33
  129. package/lib/lib/select_keyboard_model.d.ts +4 -0
  130. package/lib/lib/select_keyboard_model.js +36 -0
  131. package/lib/lib/select_keyboard_option.d.ts +4 -0
  132. package/lib/lib/select_keyboard_option.js +36 -0
  133. package/lib/lib/select_keyboard_variant.d.ts +1 -5
  134. package/lib/lib/select_keyboard_variant.js +32 -5
  135. package/lib/lib/select_languages.d.ts +1 -1
  136. package/lib/lib/select_languages.js +8 -7
  137. package/lib/lib/select_regions.d.ts +1 -1
  138. package/lib/lib/select_regions.js +2 -2
  139. package/lib/lib/select_user_swap_choice.js +2 -2
  140. package/oclif.manifest.json +1 -1
  141. package/package.json +19 -20
  142. package/scripts/_eggs +53 -8
  143. package/scripts/eggs.bash +9 -4
  144. package/scripts/mom-cli.sh +66 -0
  145. package/scripts/resy.sh +8 -0
  146. package/scripts/userexist.sh +6 -0
  147. package/assets/penguins-clinstaller.desktop +0 -24
  148. package/assets/penguins-minstall.desktop +0 -95
  149. package/conf/distros/buster/locales/locale.gen.template +0 -10
  150. package/conf/distros/buster/locales/locale.template +0 -11
  151. package/conf/distros/focal/locale.gen.template +0 -8
  152. package/lib/classes/basket.d.ts +0 -22
  153. package/lib/classes/basket.js +0 -114
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const inquirer = require("inquirer");
4
- async function selectRegions() {
4
+ async function selectRegions(selected = '') {
5
5
  const questions = [
6
6
  {
7
7
  type: 'list',
8
8
  name: 'region',
9
9
  message: 'Select your region: ',
10
10
  choices: ['Atlantic', 'Africa', 'America', 'Antarctica', 'Artic', 'Australia', 'Europe', 'India', 'Europe', 'Pacific'],
11
- default: 'Europe'
11
+ default: selected
12
12
  }
13
13
  ];
14
14
  return new Promise(function (resolve) {
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const inquirer = require("inquirer");
5
- const js_yaml_1 = (0, tslib_1.__importDefault)(require("js-yaml"));
6
- const node_fs_1 = (0, tslib_1.__importDefault)(require("node:fs"));
5
+ const js_yaml_1 = tslib_1.__importDefault(require("js-yaml"));
6
+ const node_fs_1 = tslib_1.__importDefault(require("node:fs"));
7
7
  async function selectUserSwapChoice() {
8
8
  let partitions = {};
9
9
  if (node_fs_1.default.existsSync('/etc/calamares/modules/partition.conf')) {
@@ -1 +1 @@
1
- {"version":"9.0.31","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["adjust"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"analyze":{"id":"analyze","description":"analyze situation","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs analyze"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"bro":{"id":"bro","description":"bro: waydroid helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"calamares":{"id":"calamares","description":"calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["~$ sudo eggs calamares \ncreate/renew calamares configuration's files\n","~$ sudo eggs calamares -i \ninstall calamares and create it's configuration's files\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and it's dependencies","allowNo":false},"final":{"name":"final","type":"boolean","char":"f","description":"final: remove calamares and all it's dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove calamares and it's dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false}},"args":[],"_globalFlags":{}},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["prerequisites"],"examples":["~$ sudo eggs config\nConfigure and install prerequisites deb packages to run it"],"flags":{"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"assume yes","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create new one","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"dad":{"id":"dad","description":"ask help from daddy - configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create","allowNo":false},"default":{"name":"default","type":"boolean","char":"d","description":"remove old configuration and force default","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{}},"info":{"id":"info","description":"re-thinking for a different approach to CLI","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"install":{"id":"install","description":"command-line system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["hatch","krill"],"examples":["$ eggs install\nInstall the system using GUI or CLI installer\n"],"flags":{"cli":{"name":"cli","type":"boolean","char":"c","description":"force use CLI installer","allowNo":false},"crypted":{"name":"crypted","type":"boolean","char":"k","description":"crypted CLI installation","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs kill\nkill the eggs/free the nest"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"mom":{"id":"mom","description":"ask for mommy - gui helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"produce":{"id":"produce","description":"produce a live image from your system whithout your data","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["spawn","lay"],"examples":["$ sudo eggs produce \nproduce an ISO called [hostname]-[arch]-YYYY-MM-DD_HHMM.iso, compressed xz (standard compression).\nIf hostname=ugo and arch=i386 ugo-x86-2020-08-25_1215.iso\n","$ sudo eggs produce -v\nsame as previuos, but with --verbose output\n","$ sudo eggs produce -vf\nsame as previuos, compression zstd, lz4 or gzip (depend from system capability)\n","$ sudo eggs produce -vm\nsame as previuos, compression xz -Xbcj x86 (max compression, about 10%\nmore compressed)\n","$ sudo eggs produce -vf --basename leo --theme debian --addons adapt \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression fast,\nusing Debian theme and link to adapt\n","$ sudo eggs produce -v --basename leo --theme debian --addons rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz,\nusing Debian theme and link to dwagent\n","$ sudo eggs produce -v --basename leo --rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz, using eggs\ntheme and link to dwagent\n","$ sudo eggs produce -vs --basename leo --rsupport \nproduce scripts to build an ISO as the previus example. Scripts can be found\nin /home/eggs/ovarium and you can customize all you need\n"],"flags":{"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"backup mode","allowNo":false},"fast":{"name":"fast","type":"boolean","char":"f","description":"fast compression","allowNo":false},"normal":{"name":"normal","type":"boolean","char":"n","description":"normal compression","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"-y force yolk renew","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"release":{"name":"release","type":"boolean","description":"release: configure GUI installer to remove eggs and calamares after installation","allowNo":false}},"args":[],"_globalFlags":{}},"remove":{"id":"remove","description":"remove eggs and others stuff","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs remove \nremove eggs\n","$ sudo eggs remove --purge \nremove eggs, eggs configurations, configuration's files\n","$ sudo eggs remove --autoremove \nremove eggs, eggs configurations, packages dependencies\n"],"flags":{"purge":{"name":"purge","type":"boolean","char":"p","description":"remove eggs configurations files","allowNo":false},"autoremove":{"name":"autoremove","type":"boolean","char":"a","description":"remove eggs packages dependencies","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"syncfrom":{"id":"syncfrom","description":"Restore users, server and datas from luks-eggs-backup","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["restore"],"examples":["$ sudo eggs restore"],"flags":{"file":{"name":"file","type":"option","char":"f","description":"file with LUKS volume encrypted","multiple":false},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"syncto":{"id":"syncto","description":"Backup users, server and datas to luks-eggs-backup","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["backup"],"examples":["$ sudo eggs restore"],"flags":{"krill":{"name":"krill","type":"boolean","char":"k","description":"krill","allowNo":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"update":{"id":"update","description":"update the penguin's eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs update\nupdate/upgrade the penguin's eggs tool"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"apt":{"name":"apt","type":"boolean","char":"a","description":"if eggs package is .deb, update from distro repositories","allowNo":false},"basket":{"name":"basket","type":"boolean","char":"b","description":"if eggs package is .deb, update from eggs basket","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","allowNo":false},"amd64":{"name":"amd64","type":"boolean","description":"export amd64 arch","allowNo":false},"i386":{"name":"i386","type":"boolean","description":"export i386 arch","allowNo":false},"armel":{"name":"armel","type":"boolean","description":"export armel arch","allowNo":false},"arm64":{"name":"arm64","type":"boolean","description":"export arm64 arch","allowNo":false},"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false}},"args":[],"_globalFlags":{}},"export:docs":{"id":"export:docs","description":"remove and export docType documentation of the sources in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"export backup ISOs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","allowNo":false}},"args":[],"_globalFlags":{}},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["clean"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"tools:locales":{"id":"tools:locales","description":"install/clean locales","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"reinstall":{"name":"reinstall","type":"boolean","char":"r","description":"reinstall locales","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"tools:skel":{"id":"tools:skel","description":"update skel from home configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["skel"],"examples":["$ eggs skel --user mauro\ndesktop configuration of user mauro will get used as default"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"user":{"name":"user","type":"option","char":"u","description":"user to be used","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{}},"tools:stat":{"id":"tools:stat","description":"get statistics from sourceforge","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["stat"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"month":{"name":"month","type":"boolean","char":"m","description":"current month","allowNo":false},"year":{"name":"year","type":"boolean","char":"y","description":"current year","allowNo":false}},"args":[],"_globalFlags":{}},"tools:yolk":{"id":"tools:yolk","description":"configure eggs to install without internet","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs yolk -v"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{},"dir":"/var/local/yolk"}}}
1
+ {"version":"9.1.10","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["adjust"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"analyze":{"id":"analyze","description":"analyze situation","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs analyze"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"bro":{"id":"bro","description":"bro: waydroid helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"calamares":{"id":"calamares","description":"calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["~$ sudo eggs calamares \ncreate/renew calamares configuration's files\n","~$ sudo eggs calamares -i \ninstall calamares and create it's configuration's files\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and it's dependencies","allowNo":false},"final":{"name":"final","type":"boolean","char":"f","description":"final: remove calamares and all it's dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove calamares and it's dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false}},"args":[],"_globalFlags":{}},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["prerequisites"],"examples":["~$ sudo eggs config\nConfigure and install prerequisites deb packages to run it"],"flags":{"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"assume yes","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create new one","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"dad":{"id":"dad","description":"ask help from daddy - configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create","allowNo":false},"default":{"name":"default","type":"boolean","char":"d","description":"remove old configuration and force default","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{}},"info":{"id":"info","description":"informations about eggs configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"install":{"id":"install","description":"command-line system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["hatch","krill"],"examples":["$ eggs install\nInstall the system using GUI or CLI installer\n"],"flags":{"cli":{"name":"cli","type":"boolean","char":"c","description":"force use CLI installer","allowNo":false},"crypted":{"name":"crypted","type":"boolean","char":"k","description":"crypted CLI installation","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs kill\nkill the eggs/free the nest"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"mom":{"id":"mom","description":"ask for mommy - gui helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"produce":{"id":"produce","description":"produce a live image from your system whithout your data","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["spawn","lay"],"examples":["$ sudo eggs produce \nproduce an ISO called [hostname]-[arch]-YYYY-MM-DD_HHMM.iso, compressed xz (standard compression).\nIf hostname=ugo and arch=i386 ugo-x86-2020-08-25_1215.iso\n","$ sudo eggs produce -v\nsame as previuos, but with --verbose output\n","$ sudo eggs produce -vf\nsame as previuos, compression zstd, lz4 or gzip (depend from system capability)\n","$ sudo eggs produce -vm\nsame as previuos, compression xz -Xbcj x86 (max compression, about 10%\nmore compressed)\n","$ sudo eggs produce -vf --basename leo --theme debian --addons adapt \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression fast,\nusing Debian theme and link to adapt\n","$ sudo eggs produce -v --basename leo --theme debian --addons rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz,\nusing Debian theme and link to dwagent\n","$ sudo eggs produce -v --basename leo --rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz, using eggs\ntheme and link to dwagent\n","$ sudo eggs produce -vs --basename leo --rsupport \nproduce scripts to build an ISO as the previus example. Scripts can be found\nin /home/eggs/ovarium and you can customize all you need\n"],"flags":{"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"backup mode","allowNo":false},"fast":{"name":"fast","type":"boolean","char":"f","description":"fast compression","allowNo":false},"normal":{"name":"normal","type":"boolean","char":"n","description":"normal compression","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"-y force yolk renew","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"release":{"name":"release","type":"boolean","description":"release: configure GUI installer to remove eggs and calamares after installation","allowNo":false}},"args":[],"_globalFlags":{}},"remove":{"id":"remove","description":"remove eggs and others stuff","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs remove \nremove eggs\n","$ sudo eggs remove --purge \nremove eggs, eggs configurations, configuration's files\n","$ sudo eggs remove --autoremove \nremove eggs, eggs configurations, packages dependencies\n"],"flags":{"purge":{"name":"purge","type":"boolean","char":"p","description":"remove eggs configurations files","allowNo":false},"autoremove":{"name":"autoremove","type":"boolean","char":"a","description":"remove eggs packages dependencies","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"syncfrom":{"id":"syncfrom","description":"Restore users, server and datas from luks-eggs-backup","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["restore"],"examples":["$ sudo eggs restore"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"syncto":{"id":"syncto","description":"Backup users, server and datas to luks-eggs-backup","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["backup"],"examples":["$ sudo eggs syncto"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"update":{"id":"update","description":"update the penguin's eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs update\nupdate/upgrade the penguin's eggs tool"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","allowNo":false},"amd64":{"name":"amd64","type":"boolean","description":"export amd64 arch","allowNo":false},"i386":{"name":"i386","type":"boolean","description":"export i386 arch","allowNo":false},"armel":{"name":"armel","type":"boolean","description":"export armel arch","allowNo":false},"arm64":{"name":"arm64","type":"boolean","description":"export arm64 arch","allowNo":false},"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false}},"args":[],"_globalFlags":{}},"export:docs":{"id":"export:docs","description":"remove and export docType documentation of the sources in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"export backup ISOs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","allowNo":false}},"args":[],"_globalFlags":{}},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["clean"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"tools:locales":{"id":"tools:locales","description":"install/clean locales","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"reinstall":{"name":"reinstall","type":"boolean","char":"r","description":"reinstall locales","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"tools:skel":{"id":"tools:skel","description":"update skel from home configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["skel"],"examples":["$ eggs skel --user mauro\ndesktop configuration of user mauro will get used as default"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"user":{"name":"user","type":"option","char":"u","description":"user to be used","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{}},"tools:stat":{"id":"tools:stat","description":"get statistics from sourceforge","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["stat"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"month":{"name":"month","type":"boolean","char":"m","description":"current month","allowNo":false},"year":{"name":"year","type":"boolean","char":"y","description":"current year","allowNo":false}},"args":[],"_globalFlags":{}},"tools:yolk":{"id":"tools:yolk","description":"configure eggs to install without internet","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs yolk -v"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{},"dir":"/var/local/yolk"},"wardrobe:get":{"id":"wardrobe:get","description":"get warorobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}],"_globalFlags":{}},"wardrobe:ironing":{"id":"wardrobe:ironing","description":"ordered show of costumes or accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}],"_globalFlags":{}},"wardrobe:list":{"id":"wardrobe:list","description":"list costumes and accessoires in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"wardrobe","description":"wardrobe","required":false}],"_globalFlags":{}},"wardrobe:show":{"id":"wardrobe:show","description":"show costumes/accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}],"_globalFlags":{}},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"no_accessories":{"name":"no_accessories","type":"boolean","char":"n","description":"not install accessories","allowNo":false},"silent":{"name":"silent","type":"boolean","char":"s","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}],"_globalFlags":{}}}}
package/package.json CHANGED
@@ -1,63 +1,61 @@
1
1
  {
2
2
  "name": "penguins-eggs",
3
3
  "description": "Perri's Brewery edition: remaster your system and distribuite it",
4
- "version": "9.0.31",
4
+ "version": "9.1.10",
5
5
  "author": "Piero Proietti @pieroproietti",
6
6
  "bin": {
7
7
  "eggs": "bin/run"
8
8
  },
9
9
  "bugs": "https://github.com/pieroproietti/penguins-eggs/issues",
10
10
  "dependencies": {
11
- "@oclif/plugin-autocomplete": "^1.2.0",
12
- "@oclif/plugin-help": "^5.1.11",
13
- "@oclif/plugin-not-found": "^2.3.1",
11
+ "@oclif/plugin-autocomplete": "^1.1.1",
12
+ "@oclif/plugin-help": "^5.1.12",
13
+ "@oclif/plugin-not-found": "^2.2.4",
14
14
  "@oclif/plugin-version": "^1.0.4",
15
15
  "@oclif/plugin-warn-if-update-available": "^2.0.4",
16
- "axios": "^0.26.0",
16
+ "axios": "^0.26.1",
17
17
  "chalk": "^4.1.0",
18
18
  "ink": "^3.2.0",
19
19
  "ink-big-text": "^1.2.0",
20
20
  "ink-gradient": "^2.0.0",
21
- "inquirer": "^8.2.0",
21
+ "inquirer": "^8.2.2",
22
22
  "js-yaml": "^4.1.0",
23
23
  "mustache": "^4.2.0",
24
+ "npm": "^8.6.0",
24
25
  "oclif": "github:pieroproietti/oclif",
25
- "npm": "^8.5.1",
26
- "pjson": "github:pieroproietti/pjson",
27
26
  "react": "^17.0.2",
28
27
  "shelljs": "0.8.5",
29
28
  "tslib": "^2.3.1"
30
29
  },
31
30
  "devDependencies": {
32
- "@oclif/core": "^1.5.0",
31
+ "@oclif/core": "^1.7.0",
32
+ "@oclif/test": "^2.0.3",
33
33
  "@types/chai": "^4.3.0",
34
- "@oclif/test": "^2.1.0",
35
34
  "@types/ink-big-text": "^1.2.1",
36
35
  "@types/ink-gradient": "^2.0.1",
37
- "@types/inquirer": "^8.2.0",
36
+ "@types/inquirer": "^8.2.1",
38
37
  "@types/js-yaml": "^4.0.5",
39
38
  "@types/mocha": "^9.1.0",
40
39
  "@types/mustache": "^4.1.2",
41
- "@types/node": "^16.11.13",
42
- "@types/react": "^17.0.39",
40
+ "@types/node": "^16.11.26",
41
+ "@types/react": "^17.0.43",
43
42
  "@types/shelljs": "^0.8.11",
44
43
  "chai": "^4.3.6",
45
44
  "eslint": "^7.3.2",
46
45
  "eslint-config-oclif": "^4.0.0",
47
46
  "eslint-config-oclif-typescript": "^1.0.2",
48
47
  "globby": "^11.0.1",
49
- "mocha": "^9.2.0",
48
+ "mocha": "^9.2.2",
50
49
  "nyc": "^15.1.0",
51
50
  "perrisbrewery": "github:pieroproietti/perrisbrewery",
52
- "prettier": "^2.5.1",
53
51
  "shx": "^0.3.4",
54
- "ts-node": "^10.5.0",
55
- "typedoc": "^0.22.11",
56
- "typescript": "^4.5.5"
52
+ "ts-node": "^10.7.0",
53
+ "typedoc": "^0.22.15",
54
+ "typescript": "^4.6.3"
57
55
  },
58
56
  "dirname": "eggs",
59
57
  "engines": {
60
- "node": ">=12.0.0"
58
+ "node": ">=16.0.0"
61
59
  },
62
60
  "files": [
63
61
  "/assets",
@@ -69,7 +67,8 @@
69
67
  "/manpages",
70
68
  "/oclif.manifest.json",
71
69
  "/scripts",
72
- "/templates"
70
+ "/templates",
71
+ "/wardrobe.d"
73
72
  ],
74
73
  "homepage": "https://penguins-eggs.net/",
75
74
  "keywords": [
package/scripts/_eggs CHANGED
@@ -16,7 +16,7 @@ _eggs () {
16
16
  "export\:deb:export deb/docs/iso to the destination host"
17
17
  "export\:docs:remove and export docType documentation of the sources in the destination host"
18
18
  "export\:iso:export iso in the destination host"
19
- "info:re-thinking for a different approach to CLI"
19
+ "info:informations about eggs configuration"
20
20
  "install:command-line system installer - the egg became a penguin!"
21
21
  "kill:kill the eggs/free the nest"
22
22
  "mom:ask for mommy - gui helper"
@@ -30,8 +30,13 @@ _eggs () {
30
30
  "tools\:stat:get statistics from sourceforge"
31
31
  "tools\:yolk:configure eggs to install without internet"
32
32
  "update:update the penguin's eggs tool"
33
- "help:Display help for <%= config.bin %>."
33
+ "wardrobe\:get:get warorobe"
34
+ "wardrobe\:ironing:ordered show of costumes or accessories in wardrobe"
35
+ "wardrobe\:list:list costumes and accessoires in wardrobe"
36
+ "wardrobe\:show:show costumes/accessories in wardrobe"
37
+ "wardrobe\:wear:wear costume/accessories from wardrobe"
34
38
  "autocomplete:display autocomplete installation instructions"
39
+ "help:Display help for <%= config.bin %>."
35
40
  "version:"
36
41
  )
37
42
 
@@ -171,7 +176,8 @@ remove)
171
176
 
172
177
  syncfrom)
173
178
  _command_flags=(
174
- "--file=-[file with LUKS volume encrypted]:"
179
+ "--delete=-[rsync --delete delete extraneous files from dest dirs]:"
180
+ "--file=-[file LUKS volume encrypted]:"
175
181
  "--rootdir=-[rootdir of the installed system, when used from live]:"
176
182
  "--help[Show CLI help.]"
177
183
  "--verbose[verbose]"
@@ -180,7 +186,7 @@ syncfrom)
180
186
 
181
187
  syncto)
182
188
  _command_flags=(
183
- "--krill[krill]"
189
+ "--delete=-[rsync --delete delete extraneous files from dest dirs]:"
184
190
  "--file=-[file LUKS volume encrypted]:"
185
191
  "--help[Show CLI help.]"
186
192
  "--verbose[verbose]"
@@ -228,15 +234,48 @@ tools:yolk)
228
234
  update)
229
235
  _command_flags=(
230
236
  "--help[Show CLI help.]"
231
- "--apt[if eggs package is .deb, update from distro repositories]"
232
- "--basket[if eggs package is .deb, update from eggs basket]"
233
237
  "--verbose[verbose]"
234
238
  )
235
239
  ;;
236
240
 
237
- help)
241
+ wardrobe:get)
238
242
  _command_flags=(
239
- "--nested-commands[Include all nested commands in the output.]"
243
+ "--verbose[]"
244
+ "--help[Show CLI help.]"
245
+ )
246
+ ;;
247
+
248
+ wardrobe:ironing)
249
+ _command_flags=(
250
+ "--wardrobe=-[wardrobe]:"
251
+ "--verbose[]"
252
+ "--help[Show CLI help.]"
253
+ )
254
+ ;;
255
+
256
+ wardrobe:list)
257
+ _command_flags=(
258
+ "--verbose[]"
259
+ "--help[Show CLI help.]"
260
+ )
261
+ ;;
262
+
263
+ wardrobe:show)
264
+ _command_flags=(
265
+ "--wardrobe=-[wardrobe]:"
266
+ "--json[output JSON]"
267
+ "--verbose[]"
268
+ "--help[Show CLI help.]"
269
+ )
270
+ ;;
271
+
272
+ wardrobe:wear)
273
+ _command_flags=(
274
+ "--wardrobe=-[wardrobe]:"
275
+ "--no_accessories[not install accessories]"
276
+ "--silent[]"
277
+ "--verbose[]"
278
+ "--help[Show CLI help.]"
240
279
  )
241
280
  ;;
242
281
 
@@ -246,6 +285,12 @@ autocomplete)
246
285
  )
247
286
  ;;
248
287
 
288
+ help)
289
+ _command_flags=(
290
+ "--nested-commands[Include all nested commands in the output.]"
291
+ )
292
+ ;;
293
+
249
294
  version)
250
295
  _command_flags=(
251
296
 
package/scripts/eggs.bash CHANGED
@@ -26,16 +26,21 @@ kill --help --verbose
26
26
  mom --help
27
27
  produce --prefix --basename --backup --fast --normal --max --verbose --yolk --script --help --theme --addons --release
28
28
  remove --purge --autoremove --help --verbose
29
- syncfrom --file --rootdir --help --verbose
30
- syncto --krill --file --help --verbose
29
+ syncfrom --delete --file --rootdir --help --verbose
30
+ syncto --delete --file --help --verbose
31
31
  tools:clean --help --verbose
32
32
  tools:locales --help --reinstall --verbose
33
33
  tools:skel --help --user --verbose
34
34
  tools:stat --help --month --year
35
35
  tools:yolk --help --verbose
36
- update --help --apt --basket --verbose
37
- help --nested-commands
36
+ update --help --verbose
37
+ wardrobe:get --verbose --help
38
+ wardrobe:ironing --wardrobe --verbose --help
39
+ wardrobe:list --verbose --help
40
+ wardrobe:show --wardrobe --json --verbose --help
41
+ wardrobe:wear --wardrobe --no_accessories --silent --verbose --help
38
42
  autocomplete --refresh-cache
43
+ help --nested-commands
39
44
  version
40
45
  "
41
46
 
@@ -27,6 +27,7 @@ function main {
27
27
  "documentation" "book/book_translated/manual/man" \
28
28
  "export" "deb/docs/iso" \
29
29
  "tools" "clean/locales/skel/yolk" \
30
+ "wardrobe" "get/ironing/list/show/wear" \
30
31
  "quit" "exit" 3>&2 2>&1 1>&3
31
32
  )
32
33
 
@@ -73,6 +74,9 @@ function main {
73
74
  "tools")
74
75
  tools ;;
75
76
 
77
+ "wardrobe")
78
+ wardrobe ;;
79
+
76
80
  "update")
77
81
  update ;;
78
82
 
@@ -387,6 +391,68 @@ function update {
387
391
  press_a_key_to_continue
388
392
  }
389
393
 
394
+ ################################
395
+ function wardrobe {
396
+ answer=$(
397
+ whiptail --title "TOOLS" --menu "eggs companions tools" 22 75 14 \
398
+ "get" "get warorobe" \
399
+ "ironing" "ironing costumes: sorting packages" \
400
+ "list" "list costumes" \
401
+ "show" "show costumes" \
402
+ "wear" "wear costume" \
403
+ "quit" "previous" 3>&2 2>&1 1>&3
404
+ )
405
+
406
+ case "$answer" in
407
+ "get")
408
+ wardrobe_get ;;
409
+
410
+ "ironing")
411
+ wardrobe_ironing ;;
412
+
413
+ "list")
414
+ wardrobe_list ;;
415
+
416
+ "show")
417
+ wardrobe_show ;;
418
+
419
+ "wear")
420
+ wardrobe_wear ;;
421
+ esac
422
+
423
+ }
424
+
425
+ ################################
426
+ function wardrobe_get {
427
+ eggs wardrobe get
428
+ press_a_key_to_continue
429
+ }
430
+
431
+ ################################
432
+ function wardrobe_ironing {
433
+ eggs wardrobe ironing
434
+ press_a_key_to_continue
435
+ }
436
+
437
+ ################################
438
+ function wardrobe_list {
439
+ eggs wardrobe list
440
+ press_a_key_to_continue
441
+ }
442
+
443
+ ################################
444
+ function wardrobe_show {
445
+ eggs wardrobe show
446
+ press_a_key_to_continue
447
+ }
448
+
449
+ ################################
450
+ function wardrobe_wear {
451
+ sudo eggs wardrobe wear
452
+ press_a_key_to_continue
453
+ }
454
+
455
+
390
456
 
391
457
  function press_a_key_to_continue {
392
458
  read -rp "Press enter to continue"
@@ -0,0 +1,8 @@
1
+ clear
2
+ echo ">>> Re-install Eggs Saving Yolk"
3
+ tmp=`mktemp -d`
4
+ sudo mv /var/local/yolk $tmp
5
+ sudo apt -y purge eggs
6
+ sudo dpkg -i /tmp/eggs*.deb
7
+ sudo mv $tmp/yolk /var/local
8
+ sudo eggs dad -d
@@ -0,0 +1,6 @@
1
+ #!/bin/sh
2
+ if getent passwd "$1" > /dev/null; then
3
+ echo "user: $1 exists"
4
+ else
5
+ echo "user: $1 NOT exists"
6
+ fi
@@ -1,24 +0,0 @@
1
- #!/usr/bin/env xdg-open
2
- [Desktop Entry]
3
- Encoding=UTF-8
4
- Name=Penguin's eggs cli-installer
5
- Type=Application
6
- Terminal=true
7
- Exec=sudo /usr/bin/eggs install
8
- Icon=utilities-terminal
9
- Categories=GNOME;GTK;Utility;
10
- Name[it]=Installa sistema cli
11
- GenericName[it]=Installa sistema cli
12
- Comment[it]=Installazione del sistema cli
13
- Name[en]=System installation cli
14
- GenericName[en]=System installation cli
15
- Comment[en]=System installation cli
16
- Name[es]=Instalación del sistema cli
17
- GenericName[es]=Instalación del sistema cli
18
- Comment[es]=Instalación del sistema cli
19
- Name[pt]=Instalação do sistema cli
20
- GenericName[pt]=Instalação do sistema cli
21
- Comment[pt]=Instalação do sistema cli
22
- Name[fr]=Installation du système cli
23
- GenericName[fr]=Installation du système cli
24
- Comment[fr]=Installation du système cli
@@ -1,95 +0,0 @@
1
- [Desktop Entry]
2
- Encoding=UTF-8
3
- Type=Application
4
- Exec=sudo eggs install --mx
5
- Icon=/usr/share/gazelle-installer-data/logo.png
6
- Name=Installer
7
- Name[am]=መግጠሚያ
8
- Name[ar]=تنصيب
9
- Name[bg]=Инсталирай
10
- Name[ca]=Instal·lador
11
- Name[cs]=Instalovat
12
- Name[da]=Installationsprogram
13
- Name[de]=Installation
14
- Name[el]=Εγκατάσταση
15
- Name[es]=Instalar
16
- Name[et]=Paigalda
17
- Name[eu]=Instalatu
18
- Name[fa]=نصب
19
- Name[fi]=Asenna
20
- Name[fr]=Installer
21
- Name[he_IL]=Installer
22
- Name[hi]=इंस्टॉलर
23
- Name[hr]=Instalacija
24
- Name[hu]=Telepítő
25
- Name[id]=Installer
26
- Name[is]=Setja upp
27
- Name[it]=Installa
28
- Name[ja]=インストール
29
- Name[kk]=Installer
30
- Name[ko]=설치
31
- Name[lt]=Diegimo programa
32
- Name[mk]=Инсталирај
33
- Name[mr]=Installer
34
- Name[nb]=Installer
35
- Name[nl]=Installeerder
36
- Name[pl]=Instalator
37
- Name[pt_BR]=Instalador
38
- Name[pt]=Instalador
39
- Name[ro]=Instalează
40
- Name[ru]=Установщик
41
- Name[sk]=Inštalovať
42
- Name[sl]=Namesti
43
- Name[sq]=Instalo
44
- Name[sr]=Инсталација
45
- Name[sv]=Installera
46
- Name[tr]=Yükleyici
47
- Name[uk]=Встановити
48
- Name[zh_CN]=安装
49
- Name[zh_TW]=安装
50
- Comment=Install Linux
51
- Comment[am]=የ ሊነክስ መግጠሚያ
52
- Comment[ar]=Install Linux
53
- Comment[bg]=Install Linux
54
- Comment[ca]=Instal·la Linux
55
- Comment[cs]=Nainstalovat LInux
56
- Comment[da]=Installer Linux
57
- Comment[de]=Linux installieren
58
- Comment[el]=Εγκατάσταση του Linux
59
- Comment[es]=Instalar Linux
60
- Comment[et]=Install Linux
61
- Comment[eu]=Install Linux
62
- Comment[fa]=Install Linux
63
- Comment[fi]=Asenna Linux
64
- Comment[fr]=Installer Linux
65
- Comment[he_IL]=Install Linux
66
- Comment[hi]=Install Linux
67
- Comment[hr]=Install Linux
68
- Comment[hu]=Linux telepítése
69
- Comment[id]=Install Linux
70
- Comment[is]=Install Linux
71
- Comment[it]=Installa Linux
72
- Comment[ja]=Linux のインストール
73
- Comment[kk]=Install Linux
74
- Comment[ko]=Install Linux
75
- Comment[lt]=Įdiegti Linux
76
- Comment[mk]=Install Linux
77
- Comment[mr]=Install Linux
78
- Comment[nb]=Install Linux
79
- Comment[nl]=Installeer Linux
80
- Comment[pl]=Zainstaluj Linuksa
81
- Comment[pt_BR]=Instala o sistema no disco rígido
82
- Comment[pt]=Instala o sistema no disco rígido [gazelle-installer]
83
- Comment[ro]=Install Linux
84
- Comment[ru]=Установка Linux
85
- Comment[sk]=Nainštalovať Linux
86
- Comment[sl]=Namesti Linux
87
- Comment[sq]=Install Linux
88
- Comment[sr]=Install Linux
89
- Comment[sv]=Installera Linux
90
- Comment[tr]=Install Linux
91
- Comment[uk]=Install Linux
92
- Comment[zh_CN]=Install Linux
93
- Comment[zh_TW]=安裝 Linux
94
- Terminal=false
95
- NoDisplay=true
@@ -1,10 +0,0 @@
1
- # DEBIAN
2
- # This file lists locales that you wish to have built. You can find a list
3
- # of valid supported locales at /usr/share/i18n/SUPPORTED, and you can add
4
- # user defined locales to /usr/local/share/i18n/SUPPORTED. If you change
5
- # this file, you need to rerun locale-gen.
6
- # i comandi di mustache vanno comunque con due baffi
7
-
8
- {{#locales}}
9
- {{{locale}}}
10
- {{/locales}}
@@ -1,11 +0,0 @@
1
- # File generated by penguins-eggs
2
- LANG={{{locale}}}
3
- LC_ADDRESS={{{locale}}}
4
- LC_IDENTIFICATION={{{locale}}}
5
- LC_MEASUREMENT={{{locale}}}
6
- LC_MONETARY={{{locale}}}
7
- LC_NAME={{{locale}}}
8
- LC_NUMERIC={{{locale}}}
9
- LC_PAPER={{{locale}}}
10
- LC_TELEPHONE={{{locale}}}
11
- LC_TIME={{{locale}}}
@@ -1,8 +0,0 @@
1
- # UBUNTU
2
- # This file lists locales that you wish to have built. You can find a list
3
- # of valid supported locales at /usr/share/i18n/SUPPORTED, and you can add
4
- # user defined locales to /usr/local/share/i18n/SUPPORTED. If you change
5
- # this file, you need to rerun locale-gen.
6
-
7
- it_IT.UTF-8 UTF-8
8
- en_US.UTF-8 UTF-8