penguins-eggs 8.0.30 → 9.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 +251 -163
- package/addons/README.md +78 -84
- package/addons/{pve → blissos}/theme/applications/install-debian.desktop +0 -0
- package/addons/{pve → blissos}/theme/artwork/install-debian.png +0 -0
- package/addons/blissos/theme/calamares/branding/blissos-logo.png +0 -0
- package/addons/{pve → blissos}/theme/calamares/branding/branding.desc +0 -0
- package/addons/blissos/theme/calamares/branding/languages.png +0 -0
- package/addons/blissos/theme/calamares/branding/show.qml +75 -0
- package/addons/blissos/theme/calamares/branding/slide1.png +0 -0
- package/addons/blissos/theme/calamares/branding/slide2.png +0 -0
- package/addons/blissos/theme/calamares/branding/slide3.png +0 -0
- package/addons/blissos/theme/calamares/branding/welcome.png +0 -0
- package/addons/{pve → blissos}/theme/calamares/modules/partition.yml +2 -2
- package/addons/blissos/theme/livecd/README.md +23 -0
- package/addons/blissos/theme/livecd/grub.template.cfg +34 -0
- package/addons/blissos/theme/livecd/grub.theme.cfg +46 -0
- package/addons/blissos/theme/livecd/isolinux.template.cfg +29 -0
- package/addons/blissos/theme/livecd/isolinux.theme.cfg +45 -0
- package/addons/blissos/theme/livecd/splash.png +0 -0
- package/addons/debian/theme/README.md +23 -0
- package/addons/debian/theme/{branding → calamares/branding}/branding.desc +0 -0
- package/addons/debian/theme/{branding → calamares/branding}/debian-logo.png +0 -0
- package/addons/debian/theme/{branding → calamares/branding}/show.qml +0 -0
- package/addons/debian/theme/{branding → calamares/branding}/slide1.png +0 -0
- package/addons/debian/theme/{branding → calamares/branding}/welcome.png +0 -0
- package/addons/debian/theme/calamares/modules/partition.yml +233 -0
- package/addons/debian/theme/livecd/README.md +23 -0
- package/addons/debian/theme/livecd/grub.template.cfg +34 -0
- package/addons/{pve/theme/livecd/theme.cfg → debian/theme/livecd/grub.theme.cfg} +4 -0
- package/addons/debian/theme/livecd/isolinux.template.cfg +30 -0
- package/{conf/distros/buster/isolinux/stdmenu.template.cfg → addons/debian/theme/livecd/isolinux.theme.cfg} +4 -0
- package/addons/debian/theme/livecd/splash.png +0 -0
- package/addons/deblinux/theme/README.md +19 -12
- package/addons/eggs/adapt/applications/eggs-adapt.desktop +1 -1
- package/addons/eggs/theme/livecd/README.md +21 -6
- package/addons/eggs/theme/livecd/grub.template.cfg +11 -37
- package/addons/eggs/theme/livecd/{theme.cfg → grub.theme.cfg} +5 -1
- package/addons/eggs/theme/livecd/isolinux.template.cfg +29 -0
- package/addons/eggs/theme/livecd/isolinux.theme.cfg +46 -0
- package/addons/eggs/theme/livecd/splash.png +0 -0
- package/addons/guadalinex/theme/livecd/README.md +23 -0
- package/addons/guadalinex/theme/livecd/{menu.template.cfg → isolinux.template.cfg} +12 -3
- package/addons/guadalinex/theme/livecd/{theme.cfg → isolinux.theme.cfg} +0 -0
- package/addons/neon/theme/livecd/README.md +23 -0
- package/addons/neon/theme/livecd/grub.template.cfg +34 -0
- package/addons/{ufficiozero/theme/livecd/theme.cfg → neon/theme/livecd/grub.theme.cfg} +5 -1
- package/addons/neon/theme/livecd/isolinux.template.cfg +29 -0
- package/addons/neon/theme/livecd/isolinux.theme.cfg +46 -0
- package/addons/neon/theme/livecd/splash.pcx +0 -0
- package/addons/neon/theme/livecd/splash.png +0 -0
- package/addons/openos/theme/livecd/README.md +23 -0
- package/addons/openos/theme/livecd/{theme.cfg → grub.theme.cfg} +0 -0
- package/addons/openos/theme/livecd/{menu.template.cfg → isolinux.template.cfg} +11 -3
- package/addons/openos/theme/livecd/isolinux.theme.cfg +45 -0
- package/addons/ufficiozero/theme/applications/install-debian.desktop +17 -2
- package/assets/penguins-minstall.desktop +95 -0
- package/bin/dev +17 -0
- package/bin/dev.cmd +3 -0
- package/bin/run +2 -4
- package/conf/distros/bionic/calamares/settings.yml +5 -5
- package/conf/distros/bookworm/README.md +9 -0
- package/conf/distros/bullseye/README.md +6 -8
- package/conf/distros/buster/calamares/modules/shellprocess_eggs-cleanup.yml +6 -0
- package/conf/distros/buster/calamares/settings.yml +14 -3
- package/conf/distros/chimaera/README.md +3 -0
- package/conf/distros/daedalus/README.md +3 -0
- package/conf/distros/focal/calamares/settings.yml +2 -2
- package/conf/distros/hirsute/README.md +1 -1
- package/conf/distros/impish/README.md +9 -0
- package/conf/distros/jammy/README.md +9 -0
- package/conf/distros/rolling/README.md +3 -0
- package/conf/distros/rolling/calamares/calamares-modules/remove-link/module.yml +9 -0
- package/conf/distros/rolling/calamares/calamares-modules/remove-link/remove-link.sh +3 -0
- package/conf/distros/rolling/calamares/modules/displaymanager.yml +22 -0
- package/conf/distros/rolling/calamares/modules/finished.yml +6 -0
- package/conf/distros/rolling/calamares/modules/fstab.yml +13 -0
- package/conf/distros/rolling/calamares/modules/locale.yml +97 -0
- package/conf/distros/rolling/calamares/modules/luksopenswaphookcfg.yml +6 -0
- package/conf/distros/rolling/calamares/modules/mount.yml +38 -0
- package/conf/distros/rolling/calamares/modules/packages.yml +8 -0
- package/conf/distros/rolling/calamares/modules/removeuser.yml +15 -0
- package/conf/distros/rolling/calamares/modules/unpackfs.yml +7 -0
- package/conf/distros/rolling/calamares/modules/users.yml +20 -0
- package/conf/distros/rolling/calamares/modules/welcome.yml +19 -0
- package/conf/distros/{bullseye → rolling}/calamares/settings.yml +17 -12
- package/conf/distros/thirtyfive/README.md +3 -0
- package/conf/distros/tumbleweed/README.md +3 -0
- package/conf/eggs.yaml +1 -1
- package/conf/exclude.list +2 -4
- package/conf/tools.yaml +1 -1
- package/lib/classes/basket.js +24 -20
- package/lib/classes/bleach.js +17 -17
- package/lib/classes/compressors.js +15 -14
- package/lib/classes/daddy.js +38 -31
- package/lib/classes/distro.d.ts +3 -2
- package/lib/classes/distro.js +288 -173
- package/lib/classes/family/archlinux.d.ts +69 -0
- package/lib/classes/family/archlinux.js +181 -0
- package/lib/classes/family/debian.d.ts +64 -0
- package/lib/classes/family/debian.js +227 -0
- package/lib/classes/family/fedora.d.ts +63 -0
- package/lib/classes/family/fedora.js +169 -0
- package/lib/classes/family/suse.d.ts +63 -0
- package/lib/classes/family/suse.js +169 -0
- package/lib/classes/i18n.js +16 -16
- package/lib/classes/incubation/branding.js +5 -4
- package/lib/classes/incubation/distros/bionic.js +1 -2
- package/lib/classes/incubation/distros/buster.js +2 -2
- package/lib/classes/incubation/distros/focal.js +3 -2
- package/lib/classes/incubation/distros/jessie.js +1 -25
- package/lib/classes/incubation/distros/{bullseye.d.ts → rolling.d.ts} +3 -3
- package/lib/classes/incubation/distros/{bullseye.js → rolling.js} +15 -16
- package/lib/classes/incubation/fisherman-helper/displaymanager.js +2 -7
- package/lib/classes/incubation/fisherman-helper/packages.js +31 -32
- package/lib/classes/incubation/fisherman.d.ts +17 -17
- package/lib/classes/incubation/fisherman.js +84 -71
- package/lib/classes/incubation/incubator.js +116 -74
- package/lib/classes/incubation/installer.d.ts +2 -2
- package/lib/classes/incubation/installer.js +6 -20
- package/lib/classes/initrd.d.ts +1 -1
- package/lib/classes/initrd.js +37 -30
- package/lib/classes/krill_install.js +135 -132
- package/lib/classes/krill_prepare.js +51 -51
- package/lib/classes/n8.js +6 -11
- package/lib/classes/ovary.d.ts +29 -11
- package/lib/classes/ovary.js +711 -605
- package/lib/classes/pacman.d.ts +55 -56
- package/lib/classes/pacman.js +514 -419
- package/lib/classes/pve-live.js +6 -6
- package/lib/classes/settings.js +46 -55
- package/lib/classes/systemctl.d.ts +6 -6
- package/lib/classes/systemctl.js +7 -7
- package/lib/classes/tools.d.ts +1 -1
- package/lib/classes/tools.js +10 -10
- package/lib/classes/utils.d.ts +9 -12
- package/lib/classes/utils.js +127 -106
- package/lib/classes/xdg.js +94 -90
- package/lib/classes/yolk.js +36 -29
- package/lib/commands/adapt.d.ts +3 -3
- package/lib/commands/adapt.js +12 -12
- package/lib/commands/bro.d.ts +14 -0
- package/lib/commands/bro.js +31 -0
- package/lib/commands/calamares.d.ts +7 -7
- package/lib/commands/calamares.js +22 -54
- package/lib/commands/config.d.ts +5 -5
- package/lib/commands/config.js +68 -74
- package/lib/commands/dad.d.ts +5 -5
- package/lib/commands/dad.js +11 -11
- package/lib/commands/export/deb.d.ts +8 -8
- package/lib/commands/export/deb.js +16 -16
- package/lib/commands/export/docs.d.ts +2 -2
- package/lib/commands/export/docs.js +9 -9
- package/lib/commands/export/iso.d.ts +4 -4
- package/lib/commands/export/iso.js +12 -17
- package/lib/commands/info.d.ts +9 -3
- package/lib/commands/info.js +14 -164
- package/lib/commands/install.d.ts +4 -4
- package/lib/commands/install.js +19 -14
- package/lib/commands/kill.d.ts +3 -3
- package/lib/commands/kill.js +11 -13
- package/lib/commands/mom.d.ts +2 -2
- package/lib/commands/mom.js +8 -8
- package/lib/commands/produce.d.ts +14 -14
- package/lib/commands/produce.js +42 -45
- package/lib/commands/remove.d.ts +5 -5
- package/lib/commands/remove.js +46 -57
- package/lib/commands/tools/clean.d.ts +3 -3
- package/lib/commands/tools/clean.js +10 -12
- package/lib/commands/tools/locales.d.ts +4 -4
- package/lib/commands/tools/locales.js +8 -8
- package/lib/commands/tools/skel.d.ts +4 -4
- package/lib/commands/tools/skel.js +10 -15
- package/lib/commands/tools/stat.d.ts +7 -4
- package/lib/commands/tools/stat.js +20 -13
- package/lib/commands/tools/yolk.d.ts +3 -3
- package/lib/commands/tools/yolk.js +12 -12
- package/lib/commands/update.d.ts +5 -10
- package/lib/commands/update.js +56 -72
- package/lib/components/elements/information.d.ts +4 -0
- package/lib/components/elements/information.js +166 -0
- package/lib/components/elements/steps.js +1 -1
- package/lib/components/elements/title.js +7 -10
- package/lib/components/finished.js +5 -5
- package/lib/components/install.js +5 -5
- package/lib/components/keyboard.js +5 -5
- package/lib/components/location.js +5 -5
- package/lib/components/network.js +5 -5
- package/lib/components/partitions.js +5 -5
- package/lib/components/summary.js +5 -5
- package/lib/components/users.js +6 -6
- package/lib/components/welcome.js +6 -6
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -2
- package/lib/interfaces/i-distro.d.ts +3 -2
- package/lib/interfaces/i-settings.d.ts +2 -2
- package/lib/lib/cli-autologin.d.ts +19 -2
- package/lib/lib/cli-autologin.js +114 -39
- package/lib/lib/dependencies.d.ts +9 -6
- package/lib/lib/dependencies.js +22 -13
- package/lib/lib/get_address.js +2 -2
- package/lib/lib/get_dns.js +2 -2
- package/lib/lib/get_domain.js +2 -2
- package/lib/lib/get_gateway.js +2 -2
- package/lib/lib/get_hostname.js +2 -2
- package/lib/lib/get_netmask.js +2 -2
- package/lib/lib/get_password.js +2 -2
- package/lib/lib/get_root_password.js +2 -2
- package/lib/lib/get_userfullname.js +2 -2
- package/lib/lib/get_username.js +2 -2
- package/lib/lib/select_address_type.js +2 -5
- package/lib/lib/select_filesystem_type.js +5 -14
- package/lib/lib/select_installation_device.js +3 -3
- package/lib/lib/select_interface.js +1 -1
- package/lib/lib/select_keyboard_layout.js +2 -10
- package/lib/lib/select_languages.js +2 -2
- package/lib/lib/select_regions.js +1 -12
- package/lib/lib/select_user_swap_choice.js +4 -4
- package/lib/lib/select_zones.js +483 -62
- package/oclif.manifest.json +1 -1
- package/package.json +115 -107
- package/scripts/bros/waydroid-helper.sh +92 -0
- package/scripts/eggs.bash +67 -21
- package/scripts/not-used/eggs-cleanup.sh +7 -0
- package/scripts/not-used/install-eggs-ppa.sh +2 -0
- package/scripts/{mkinitramfs → not-used/mkinitramfs} +0 -0
- package/scripts/{pve-live.sh → not-used/pve-live.sh} +0 -0
- package/addons/eggs/theme/livecd/menu.template.cfg +0 -54
- package/addons/pve/theme/applications/penguins-pve.desktop +0 -24
- package/addons/pve/theme/calamares/branding/pve-logo.png +0 -0
- package/addons/pve/theme/calamares/branding/show.qml +0 -227
- package/addons/pve/theme/calamares/branding/slide1.png +0 -0
- package/addons/pve/theme/calamares/branding/slide2.png +0 -0
- package/addons/pve/theme/calamares/branding/slide3.png +0 -0
- package/addons/pve/theme/calamares/branding/slide4.png +0 -0
- package/addons/pve/theme/calamares/branding/slide5.png +0 -0
- package/addons/pve/theme/calamares/branding/slide6.png +0 -0
- package/addons/pve/theme/calamares/branding/slide7.png +0 -0
- package/addons/pve/theme/calamares/branding/slide8.png +0 -0
- package/addons/pve/theme/calamares/branding/slide9.png +0 -0
- package/addons/pve/theme/calamares/branding/welcome.png +0 -0
- package/addons/pve/theme/livecd/README.md +0 -8
- package/addons/pve/theme/livecd/grub.template.cfg +0 -60
- package/addons/pve/theme/livecd/menu.template.cfg +0 -54
- package/addons/pve/theme/livecd/splash.png +0 -0
- package/addons/ufficiozero/theme/artwork/install-debian.png +0 -0
- package/addons/ufficiozero/theme/livecd/README.md +0 -8
- package/addons/ufficiozero/theme/livecd/grub.template.cfg +0 -60
- package/addons/ufficiozero/theme/livecd/menu.template.cfg +0 -54
- package/changelog.md +0 -127
- package/conf/distros/bullseye/calamares/calamares-modules/bootloader-config/bootloader-config.sh +0 -28
- package/conf/distros/bullseye/calamares/calamares-modules/bootloader-config/module.yml +0 -8
- package/conf/distros/buster/grub/grub.template.cfg +0 -58
- package/conf/distros/buster/grub/loopback.cfg +0 -1
- package/conf/distros/buster/grub/theme.cfg +0 -42
- package/conf/distros/buster/isolinux/isolinux.template.cfg +0 -8
- package/conf/distros/buster/isolinux/menu.template.cfg +0 -56
- package/conf/distros/focal/grub/grub.template.cfg +0 -67
- package/conf/distros/focal/isolinux/menu.template.cfg +0 -54
- package/lib/classes/incubation/distros/beowulf.d.ts +0 -30
- package/lib/classes/incubation/distros/beowulf.js +0 -69
- package/lib/classes/krill_install_compare.d.ts +0 -200
- package/lib/classes/krill_install_compare.js +0 -1110
- package/manpages/doc/man/eggs.1.gz +0 -0
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"8.0.30","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","pluginName":"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":[]},"calamares":{"id":"calamares","description":"calamares or install or configure it","pluginName":"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"}},"args":[]},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","pluginName":"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":[]},"dad":{"id":"dad","description":"ask help from daddy - configuration helper","pluginName":"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":[]},"info":{"id":"info","description":"thinking a different approach to CLI...","pluginName":"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":[]},"install":{"id":"install","description":"command-line system installer - the egg became a penguin!","pluginName":"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},"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":[]},"kill":{"id":"kill","description":"kill the eggs/free the nest","pluginName":"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":[]},"mom":{"id":"mom","description":"ask for mommy - gui helper","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"produce":{"id":"produce","description":"the system produce an egg: iso image of your system","pluginName":"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"},"basename":{"name":"basename","type":"option","description":"basename"},"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"},"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport"},"release":{"name":"release","type":"boolean","description":"release: configure GUI installer to remove eggs and calamares after installation","allowNo":false}},"args":[]},"remove":{"id":"remove","description":"remove eggs and others stuff","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs remove \nremove eggs\n","$ sudo eggs remove --purge \nremove eggs, eggs configurations, packages prerequisites\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":[]},"update":{"id":"update","description":"update the penguin's eggs tool","pluginName":"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},"npm":{"name":"npm","type":"boolean","char":"n","description":"if eggs package is .npm, update from npmjs.com","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","pluginName":"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":[]},"export:docs":{"id":"export:docs","description":"remove and export docType documentation of the sources in the destination host","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"export:iso":{"id":"export:iso","description":"export iso in the destination host","pluginName":"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":[]},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","pluginName":"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":[]},"tools:locales":{"id":"tools:locales","description":"install/clean locales","pluginName":"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":[]},"tools:skel":{"id":"tools:skel","description":"update skel from home configuration","pluginName":"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"},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"tools:stat":{"id":"tools:stat","description":"get statistics from sourceforge","pluginName":"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":[]},"tools:yolk":{"id":"tools:yolk","description":"configure eggs to install without internet","pluginName":"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":[]}}}
|
|
1
|
+
{"version":"9.0.2","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":[]},"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":[]},"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":[]},"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":[]},"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":[]},"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":[]},"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},"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":[]},"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":[]},"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":[]},"produce":{"id":"produce","description":"the system produce an egg: iso image of your system","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":[]},"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":[]},"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":[]},"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":[]},"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":[]},"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":[]},"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":[]},"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":[]},"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":[]},"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":[]},"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":[],"dir":"/usr/local/yolk"}}}
|
package/package.json
CHANGED
|
@@ -1,109 +1,117 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"/
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
2
|
+
"name": "penguins-eggs",
|
|
3
|
+
"description": "Perri's Brewery edition: remaster your system and distribuite it",
|
|
4
|
+
"version": "9.0.2",
|
|
5
|
+
"author": "Piero Proietti @pieroproietti",
|
|
6
|
+
"bin": {
|
|
7
|
+
"eggs": "bin/run"
|
|
8
|
+
},
|
|
9
|
+
"bugs": "https://github.com/pieroproietti/penguins-eggs/issues",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@oclif/core": "github:pieroproietti/core",
|
|
12
|
+
"@oclif/plugin-autocomplete": "1.0.0",
|
|
13
|
+
"@oclif/plugin-help": "^3.2.14",
|
|
14
|
+
"@oclif/plugin-not-found": "^2.2.3",
|
|
15
|
+
"@oclif/plugin-version": "^1.0.3",
|
|
16
|
+
"@oclif/plugin-warn-if-update-available": "^2.0.3",
|
|
17
|
+
"axios": "^0.24.0",
|
|
18
|
+
"chalk": "^4.1.0",
|
|
19
|
+
"ink": "^3.2.0",
|
|
20
|
+
"ink-big-text": "^1.2.0",
|
|
21
|
+
"ink-gradient": "^2.0.0",
|
|
22
|
+
"inquirer": "^8.2.0",
|
|
23
|
+
"js-yaml": "^4.1.0",
|
|
24
|
+
"mustache": "^4.2.0",
|
|
25
|
+
"pjson": "github:pieroproietti/pjson",
|
|
26
|
+
"react": "^17.0.2",
|
|
27
|
+
"shelljs": "github:shelljs/shelljs",
|
|
28
|
+
"tslib": "^2.3.1"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@oclif/test": "^2.0.3",
|
|
32
|
+
"@types/chai": "^4.3.0",
|
|
33
|
+
"@types/ink-big-text": "^1.2.1",
|
|
34
|
+
"@types/ink-gradient": "^2.0.1",
|
|
35
|
+
"@types/inquirer": "^8.1.3",
|
|
36
|
+
"@types/js-yaml": "^4.0.5",
|
|
37
|
+
"@types/mocha": "^9.0.0",
|
|
38
|
+
"@types/mustache": "^4.1.2",
|
|
39
|
+
"@types/node": "^16.11.13",
|
|
40
|
+
"@types/react": "^17.0.37",
|
|
41
|
+
"@types/shelljs": "^0.8.9",
|
|
42
|
+
"chai": "^4.3.4",
|
|
43
|
+
"eslint": "^7.3.2",
|
|
44
|
+
"eslint-config-oclif": "^4.0.0",
|
|
45
|
+
"eslint-config-oclif-typescript": "^1.0.2",
|
|
46
|
+
"globby": "^11.0.1",
|
|
47
|
+
"mocha": "^9.1.3",
|
|
48
|
+
"nyc": "^15.1.0",
|
|
49
|
+
"oclif": "github:pieroproietti/oclif",
|
|
50
|
+
"perrisbrewery": "github:pieroproietti/perrisbrewery",
|
|
51
|
+
"prettier": "^2.5.1",
|
|
52
|
+
"shx": "^0.3.3",
|
|
53
|
+
"ts-node": "^10.2.1",
|
|
54
|
+
"typedoc": "^0.22.10",
|
|
55
|
+
"typescript": "^4.5.0"
|
|
56
|
+
},
|
|
57
|
+
"dirname": "eggs",
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">=12.0.0"
|
|
60
|
+
},
|
|
61
|
+
"files": [
|
|
62
|
+
"/assets",
|
|
63
|
+
"/addons",
|
|
64
|
+
"/assistant",
|
|
65
|
+
"/bin",
|
|
66
|
+
"/conf",
|
|
67
|
+
"/lib",
|
|
68
|
+
"/manpages",
|
|
69
|
+
"/oclif.manifest.json",
|
|
70
|
+
"/scripts",
|
|
71
|
+
"/templates"
|
|
72
|
+
],
|
|
73
|
+
"homepage": "https://penguins-eggs.net/",
|
|
74
|
+
"keywords": [
|
|
75
|
+
"oclif",
|
|
76
|
+
"refracta",
|
|
77
|
+
"remastersys",
|
|
78
|
+
"systemback"
|
|
79
|
+
],
|
|
80
|
+
"license": "MIT",
|
|
81
|
+
"main": "./lib/index.js",
|
|
82
|
+
"oclif": {
|
|
83
|
+
"bin": "eggs",
|
|
84
|
+
"commands": "./lib/commands",
|
|
85
|
+
"plugins": [
|
|
86
|
+
"@oclif/plugin-autocomplete",
|
|
87
|
+
"@oclif/plugin-help",
|
|
88
|
+
"@oclif/plugin-not-found",
|
|
89
|
+
"@oclif/plugin-warn-if-update-available",
|
|
90
|
+
"@oclif/plugin-version"
|
|
91
|
+
],
|
|
92
|
+
"topicSeparator": " ",
|
|
93
|
+
"additionalHelpFlags": [
|
|
94
|
+
"-h"
|
|
95
|
+
],
|
|
96
|
+
"additionalVersionFlags": [
|
|
97
|
+
"-v"
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
"repository": "https://github.com/pieroproietti/penguins-eggs",
|
|
101
|
+
"scripts": {
|
|
102
|
+
"build": "tsc -p .",
|
|
103
|
+
"deb": "oclif pack:deb && pb deb ./",
|
|
104
|
+
"docs": "rm docs -rf && npx typedoc src --out docs",
|
|
105
|
+
"lint": "eslint . --ext .ts --config .eslintrc",
|
|
106
|
+
"lint-and-fix": "eslint . --ext .ts --fix --config .eslintrc",
|
|
107
|
+
"postpack": "rm -f oclif.manifest.json",
|
|
108
|
+
"posttest": "eslint . --ext .ts --config .eslintrc",
|
|
109
|
+
"prepack": "rm lib -rf && tsc -b && oclif manifest && oclif readme",
|
|
110
|
+
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
|
|
111
|
+
"tarballs": "oclif pack:tarballs --root=. --targets=linux-x64 --no-xz",
|
|
112
|
+
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
|
|
113
|
+
"version": "oclif readme && git add README.md"
|
|
114
|
+
},
|
|
115
|
+
"shortName": "eggs",
|
|
116
|
+
"types": "lib/index.d.ts"
|
|
109
117
|
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
# Authors: Piero Proietti, Christopher Hopp
|
|
4
|
+
|
|
5
|
+
##
|
|
6
|
+
# waydroid dialog cli
|
|
7
|
+
##
|
|
8
|
+
|
|
9
|
+
function main {
|
|
10
|
+
|
|
11
|
+
while true; do
|
|
12
|
+
# 20 righe. 75 caratteri, 16 altezza menu list
|
|
13
|
+
answer=$(
|
|
14
|
+
whiptail --title "bro waydroid helper" --menu "Brothers in arms..." 22 75 16 \
|
|
15
|
+
"install" "install waydroid" \
|
|
16
|
+
"remove" "remove waydroid" \
|
|
17
|
+
"session" "start waydroid session" \
|
|
18
|
+
"quit" "exit" 3>&2 2>&1 1>&3
|
|
19
|
+
)
|
|
20
|
+
|
|
21
|
+
case "$answer" in
|
|
22
|
+
"quit")
|
|
23
|
+
theEnd ;;
|
|
24
|
+
|
|
25
|
+
"install")
|
|
26
|
+
install ;;
|
|
27
|
+
|
|
28
|
+
"init")
|
|
29
|
+
init ;;
|
|
30
|
+
|
|
31
|
+
"remove")
|
|
32
|
+
remove ;;
|
|
33
|
+
|
|
34
|
+
"session")
|
|
35
|
+
session ;;
|
|
36
|
+
esac
|
|
37
|
+
|
|
38
|
+
done
|
|
39
|
+
}
|
|
40
|
+
################################
|
|
41
|
+
function install {
|
|
42
|
+
clear
|
|
43
|
+
sudo apt install waydroid
|
|
44
|
+
press_a_key_to_continue
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
################################
|
|
48
|
+
function init {
|
|
49
|
+
clear
|
|
50
|
+
sudo waydroid init
|
|
51
|
+
echo "check in /var/lib/waydroid/waydroid_base.prop"
|
|
52
|
+
echo "For KVM sortware renderndi, edit:"
|
|
53
|
+
echo "ro.hardware.gralloc=default"
|
|
54
|
+
echo "ro.hardware.egl=swiftshader"
|
|
55
|
+
echo "sudo systemctl stop waydroid-container"
|
|
56
|
+
echo "sudo systemctl start waydroid-container"
|
|
57
|
+
echo "waydroid show-full-ui"
|
|
58
|
+
press_a_key_to_continue
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
################################
|
|
63
|
+
function remove {
|
|
64
|
+
waydroid session stop
|
|
65
|
+
sudo waydroid container stop
|
|
66
|
+
sudo apt purge waydroid
|
|
67
|
+
rm -rf ~/waydroid ~/.share/waydroid ~/.local/share/applications/*aydroid* ~/.local/share/waydroid
|
|
68
|
+
sudo rm -rf /var/lib/waydroid
|
|
69
|
+
press_a_key_to_continue
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
################################
|
|
73
|
+
function session {
|
|
74
|
+
XDG_SESSION_TYPE=wayland waydroid show-full-ui
|
|
75
|
+
press_a_key_to_continue
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
################################
|
|
79
|
+
################################
|
|
80
|
+
################################
|
|
81
|
+
################################
|
|
82
|
+
function press_a_key_to_continue {
|
|
83
|
+
read -p "Press enter to continue"
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
################################
|
|
87
|
+
function theEnd {
|
|
88
|
+
#clear
|
|
89
|
+
exit 0
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
main
|
package/scripts/eggs.bash
CHANGED
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# This function joins an array using a character passed in
|
|
4
|
+
# e.g. ARRAY=(one two three) -> join_by ":" ${ARRAY[@]} -> "one:two:three"
|
|
5
|
+
function join_by { local IFS="$1"; shift; echo "$*"; }
|
|
6
|
+
|
|
7
|
+
_eggs_autocomplete()
|
|
4
8
|
{
|
|
5
9
|
|
|
6
|
-
local cur="${COMP_WORDS[COMP_CWORD]}" opts IFS=$' \t\n'
|
|
10
|
+
local cur="${COMP_WORDS[COMP_CWORD]}" opts normalizedCommand colonPrefix IFS=$' \t\n'
|
|
7
11
|
COMPREPLY=()
|
|
8
12
|
|
|
9
13
|
local commands="
|
|
10
14
|
adapt --verbose --help
|
|
15
|
+
bro --help
|
|
11
16
|
calamares --help --verbose --install --final --remove --theme
|
|
12
17
|
config --nointeractive --clean --help --verbose
|
|
13
|
-
dad --help --clean --verbose
|
|
14
|
-
export:deb --help --clean --
|
|
18
|
+
dad --help --clean --default --verbose
|
|
19
|
+
export:deb --help --clean --amd64 --i386 --armel --arm64 --all
|
|
15
20
|
export:docs --help
|
|
16
|
-
export:iso --help --clean
|
|
21
|
+
export:iso --help --backup --clean
|
|
17
22
|
info --verbose --help
|
|
18
23
|
install --cli --help --verbose
|
|
19
24
|
kill --help --verbose
|
|
@@ -25,29 +30,70 @@ tools:locales --help --reinstall --verbose
|
|
|
25
30
|
tools:skel --help --user --verbose
|
|
26
31
|
tools:stat --help --month --year
|
|
27
32
|
tools:yolk --help --verbose
|
|
28
|
-
update --help --apt --basket --
|
|
29
|
-
help --all
|
|
33
|
+
update --help --apt --basket --verbose
|
|
30
34
|
autocomplete --refresh-cache
|
|
35
|
+
help --all
|
|
36
|
+
version
|
|
31
37
|
"
|
|
32
38
|
|
|
39
|
+
function __trim_colon_commands()
|
|
40
|
+
{
|
|
41
|
+
# Turn $commands into an array
|
|
42
|
+
commands=("${commands[@]}")
|
|
43
|
+
|
|
44
|
+
if [[ -z "$colonPrefix" ]]; then
|
|
45
|
+
colonPrefix="$normalizedCommand:"
|
|
46
|
+
fi
|
|
47
|
+
|
|
48
|
+
# Remove colon-word prefix from $commands
|
|
49
|
+
commands=( "${commands[@]/$colonPrefix}" )
|
|
50
|
+
|
|
51
|
+
for i in "${!commands[@]}"; do
|
|
52
|
+
if [[ "${commands[$i]}" == "$normalizedCommand" ]]; then
|
|
53
|
+
# If the currently typed in command is a topic command we need to remove it to avoid suggesting it again
|
|
54
|
+
unset "${commands[$i]}"
|
|
55
|
+
else
|
|
56
|
+
# Trim subcommands from each command
|
|
57
|
+
commands[$i]="${commands[$i]%%:*}"
|
|
58
|
+
fi
|
|
59
|
+
done
|
|
60
|
+
}
|
|
61
|
+
|
|
33
62
|
if [[ "$cur" != "-"* ]]; then
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
63
|
+
# Command
|
|
64
|
+
__COMP_WORDS=( "${COMP_WORDS[@]:1}" )
|
|
65
|
+
|
|
66
|
+
# The command typed by the user but separated by colons (e.g. "mycli command subcom" -> "command:subcom")
|
|
67
|
+
normalizedCommand="$( printf "%s" "$(join_by ":" "${__COMP_WORDS[@]}")" )"
|
|
68
|
+
|
|
69
|
+
# The command hirarchy, with colons, leading up to the last subcommand entered (e.g. "mycli com subcommand subsubcom" -> "com:subcommand:")
|
|
70
|
+
colonPrefix="${normalizedCommand%"${normalizedCommand##*:}"}"
|
|
71
|
+
|
|
72
|
+
if [[ -z "$normalizedCommand" ]]; then
|
|
73
|
+
# If there is no normalizedCommand yet the user hasn't typed in a full command
|
|
74
|
+
# So we should trim all subcommands & flags from $commands so we can suggest all top level commands
|
|
75
|
+
opts=$(printf "%s " "${commands[@]}" | grep -Eo '^[a-zA-Z0-9_-]+')
|
|
40
76
|
else
|
|
41
|
-
#
|
|
42
|
-
|
|
77
|
+
# Filter $commands to just the ones that match the $normalizedCommand and turn into an array
|
|
78
|
+
commands=( $(compgen -W "$commands" -- "${normalizedCommand}") )
|
|
79
|
+
# Trim higher level and subcommands from the subcommands to suggest
|
|
80
|
+
__trim_colon_commands "$colonPrefix"
|
|
81
|
+
|
|
82
|
+
opts=$(printf "%s " "${commands[@]}") # | grep -Eo '^[a-zA-Z0-9_-]+'
|
|
43
83
|
fi
|
|
44
|
-
|
|
84
|
+
else
|
|
85
|
+
# Flag
|
|
86
|
+
|
|
87
|
+
# The full CLI command separated by colons (e.g. "mycli command subcommand --fl" -> "command:subcommand")
|
|
88
|
+
# This needs to be defined with $COMP_CWORD-1 as opposed to above because the current "word" on the command line is a flag and the command is everything before the flag
|
|
89
|
+
normalizedCommand="$( printf "%s" "$(join_by ":" "${COMP_WORDS[@]:1:($COMP_CWORD - 1)}")" )"
|
|
90
|
+
|
|
91
|
+
# The line below finds the command in $commands using grep
|
|
92
|
+
# Then, using sed, it removes everything from the found command before the --flags (e.g. "command:subcommand:subsubcom --flag1 --flag2" -> "--flag1 --flag2")
|
|
93
|
+
opts=$(printf "%s " "${commands[@]}" | grep "${normalizedCommand}" | sed -n "s/^${normalizedCommand} //p")
|
|
45
94
|
fi
|
|
46
|
-
_get_comp_words_by_ref -n : cur
|
|
47
|
-
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
|
48
|
-
__ltrim_colon_completions "$cur"
|
|
49
|
-
return 0
|
|
50
95
|
|
|
96
|
+
COMPREPLY=($(compgen -W "$opts" -- "${cur}"))
|
|
51
97
|
}
|
|
52
98
|
|
|
53
|
-
complete -
|
|
99
|
+
complete -F _eggs_autocomplete eggs
|
|
File without changes
|
|
File without changes
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# UBUNTU
|
|
2
|
-
# isolinux/menu.cfg
|
|
3
|
-
INCLUDE stdmenu.cfg
|
|
4
|
-
|
|
5
|
-
MENU TITLE Penguin\'s eggs - Perri\'s Brewery edition -
|
|
6
|
-
|
|
7
|
-
LABEL {{{fullname}}} (kernel {{{kernel}}})
|
|
8
|
-
SAY "Booting {{{customName}}} GNU/Linux Live (kernel {{{kernel}}})..."
|
|
9
|
-
linux {{{vmlinuz}}}
|
|
10
|
-
APPEND initrd={{{initrdImg}}} boot=live locales={{{locales}}} quiet splash
|
|
11
|
-
|
|
12
|
-
MENU BEGIN languages
|
|
13
|
-
MENU TITLE languages
|
|
14
|
-
LABEL English (en)
|
|
15
|
-
SAY "Booting English (en)..."
|
|
16
|
-
linux {{{vmlinuz}}}
|
|
17
|
-
APPEND initrd={{{initrdImg}}} boot=live lang=en_US.UTF-8 locales=en_US.UTF-8 quiet splash
|
|
18
|
-
LABEL French (fr)
|
|
19
|
-
SAY "Booting French (fr)..."
|
|
20
|
-
linux {{{vmlinuz}}}
|
|
21
|
-
APPEND initrd={{{initrdImg}}} boot=live lang=fr_FR.UTF-8 locales=fr_FR.UTF-8 quiet splash
|
|
22
|
-
LABEL German (de)
|
|
23
|
-
SAY "Booting German (de)..."
|
|
24
|
-
linux {{{vmlinuz}}}
|
|
25
|
-
APPEND initrd={{{initrdImg}}} boot=live lang=de_DE.UTF-8 locales=de_DE.UTF-8 quiet splash
|
|
26
|
-
LABEL Italiano (it)
|
|
27
|
-
SAY "Booting OpenOS-Neon_RLTS GNU/Linux Live (kernel 5.4.0-66-generic)..."
|
|
28
|
-
linux {{{vmlinuz}}}
|
|
29
|
-
APPEND initrd={{{initrdImg}}} boot=live lang=it_IT.UTF-8 locales=it_IT.UTF-8 quiet splash
|
|
30
|
-
LABEL Portuguese (Brazil) (pt_BR)
|
|
31
|
-
SAY "Booting Portuguese (Brazil) (pt_BR)..."
|
|
32
|
-
linux {{{vmlinuz}}}
|
|
33
|
-
APPEND initrd={{{initrdImg}}} boot=live lang=pt_BR.UTF-8 locales=pt_BR.UTF-8 quiet splash
|
|
34
|
-
LABEL Spanish (es)
|
|
35
|
-
SAY "Booting Spanish (es)..."
|
|
36
|
-
linux {{{vmlinuz}}}
|
|
37
|
-
APPEND initrd={{{initrdImg}}} boot=live lang=es_ES.UTF-8 locales=es_ES.UTF-8 quiet splash
|
|
38
|
-
LABEL mainmenu
|
|
39
|
-
MENU label Back
|
|
40
|
-
MENU exit
|
|
41
|
-
MENU end
|
|
42
|
-
|
|
43
|
-
MENU BEGIN safe
|
|
44
|
-
MENU TITLE safe
|
|
45
|
-
DEFAULT English/safe
|
|
46
|
-
LABEL English/safe
|
|
47
|
-
SAY "Booting {{{fullname}}} GNU/Linux Live (kernel {{{kernel}}}) vga mode english..."
|
|
48
|
-
linux {{{vmlinuz}}}
|
|
49
|
-
APPEND initrd={{{vmlinuz}}} locales=en_US.UTF-8 quiet splash ramdisk_size=1048576 root=/dev/ram rw noapic noacpi nosplash irqpoll --
|
|
50
|
-
|
|
51
|
-
LABEL mainmenu
|
|
52
|
-
MENU label Back
|
|
53
|
-
MENU exit
|
|
54
|
-
MENU end
|