penguins-eggs 9.3.23 → 9.3.24

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.
@@ -1 +1 @@
1
- {"version":"9.3.23","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs adapt"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"analyze":{"id":"analyze","description":"analyze for syncto","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":[]},"calamares":{"id":"calamares","description":"configure calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs calamares","sudo eggs calamares --install","sudo eggs calamares --install --theme=/path/to/theme","sudo eggs calamares --remove"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and it's dependencies","allowNo":false},"release":{"name":"release","type":"boolean","char":"r","description":"release: remove calamares and all it's dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","description":"remove calamares and it's dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":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":[],"examples":["sudo eggs config","sudo eggs config --clean","sudo eggs config --clean --noninteractive"],"flags":{"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},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"assume yes","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"cuckoo":{"id":"cuckoo","description":"PXE start with proxy-dhcp","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs cuckoo"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"dad":{"id":"dad","description":"ask help from daddy - TUI configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo dad","sudo dad --clean","sudo dad --default"],"flags":{"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},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"install":{"id":"install","description":"krill: the CLI system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs install","sudo eggs install --unattended","sudo eggs install --custom it"],"flags":{"crypted":{"name":"crypted","type":"boolean","char":"k","description":"Crypted CLI installation","allowNo":false},"custom":{"name":"custom","type":"option","char":"c","description":"custom unattended configuration","multiple":false},"domain":{"name":"domain","type":"option","char":"d","description":"Domain name, defult: .local","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"ip":{"name":"ip","type":"boolean","char":"i","description":"hostname as ip, eg: ip-192-168-1-33","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"assume yes","allowNo":false},"none":{"name":"none","type":"boolean","char":"N","description":"Swap none: 256M","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"random":{"name":"random","type":"boolean","char":"r","description":"Add random to hostname, eg: colibri-ay412dt","allowNo":false},"small":{"name":"small","type":"boolean","char":"s","description":"Swap small: RAM","allowNo":false},"suspend":{"name":"suspend","type":"boolean","char":"S","description":"Swap suspend: RAM x 2","allowNo":false},"unattended":{"name":"unattended","type":"boolean","char":"u","description":"Unattended installation","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":["sudo eggs kill"],"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 help from mommy - TUI helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs mom"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"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":[],"examples":["sudo eggs produce","sudo eggs produce --fast","sudo eggs produce --max","sudo eggs produce --fast --basename=colibri","sudo eggs produce --fast --basename=colibri --theme /path/to/theme --addons adapt","sudo eggs produce --fast --clone","sudo eggs produce --fast --backup"],"flags":{"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"backup":{"name":"backup","type":"boolean","char":"b","description":"backup mode (CRYPTED)","allowNo":false},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"clone":{"name":"clone","type":"boolean","char":"c","description":"clone mode","allowNo":false},"fast":{"name":"fast","type":"boolean","char":"f","description":"fast compression","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"don't ask for user interctions","allowNo":false},"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"release":{"name":"release","type":"boolean","description":"release: max compression, remove penguins-eggs and calamares after installation","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":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}},"args":[]},"status":{"id":"status","description":"informations about eggs status","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs status"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"syncfrom":{"id":"syncfrom","description":"restore users and user data from a LUKS volumes","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs restore","sudo eggs restore --file /path/to/fileLUKS"],"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},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"syncto":{"id":"syncto","description":"saves users and user data in a LUKS volume inside the iso","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncto","sudo eggs syncto --file /path/to/fileLUKS"],"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":[]},"update":{"id":"update","description":"update the penguin's eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs update"],"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":[]},"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":[],"examples":["eggs export deb","eggs export deb --clean","eggs export deb --all"],"flags":{"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","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":[]},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export iso","eggs export iso --clean","eggs export iso --backup"],"flags":{"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},"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:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools 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:ppa":{"id":"tools:ppa","description":"add/remove PPA repositories (Debian family)","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools ppa --add","sudo eggs tools ppa --remove"],"flags":{"add":{"name":"add","type":"boolean","char":"a","description":"add penguins-eggs PPA repository","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove penguins-eggs PPA repository","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":[],"examples":["sudo eggs skel","sudo eggs skel --user user-to-be-copied"],"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":[],"examples":["eggs tools stat","eggs tools stat --month","eggs tools stat --year"],"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":["sudo eggs yolk"],"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":"/var/local/yolk"},"wardrobe:get":{"id":"wardrobe:get","description":"get warorobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe get","eggs wardrobe get your-wardrobe"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}]},"wardrobe:list":{"id":"wardrobe:list","description":"list costumes and accessoires in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe list","eggs wardrobe list your-wardrove"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"wardrobe","description":"wardrobe","required":false}]},"wardrobe:show":{"id":"wardrobe:show","description":"show costumes/accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}],"example":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"]},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs wardrobe wear duck","sudo eggs wardrobe wear accessories/firmwares","sudo eggs wardrobe wear wagtail/waydroid"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"no_accessories":{"name":"no_accessories","type":"boolean","char":"a","description":"not install accessories","allowNo":false},"no_firmwares":{"name":"no_firmwares","type":"boolean","char":"f","description":"not install firmwares","allowNo":false},"silent":{"name":"silent","type":"boolean","char":"s","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}]}}}
1
+ {"version":"9.3.24","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs adapt"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"analyze":{"id":"analyze","description":"analyze for syncto","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":[]},"calamares":{"id":"calamares","description":"configure calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs calamares","sudo eggs calamares --install","sudo eggs calamares --install --theme=/path/to/theme","sudo eggs calamares --remove"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and it's dependencies","allowNo":false},"release":{"name":"release","type":"boolean","char":"r","description":"release: remove calamares and all it's dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","description":"remove calamares and it's dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":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":[],"examples":["sudo eggs config","sudo eggs config --clean","sudo eggs config --clean --noninteractive"],"flags":{"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},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"assume yes","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"cuckoo":{"id":"cuckoo","description":"PXE start with proxy-dhcp","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs cuckoo"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"dad":{"id":"dad","description":"ask help from daddy - TUI configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo dad","sudo dad --clean","sudo dad --default"],"flags":{"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},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"install":{"id":"install","description":"krill: the CLI system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs install","sudo eggs install --unattended","sudo eggs install --custom it"],"flags":{"crypted":{"name":"crypted","type":"boolean","char":"k","description":"Crypted CLI installation","allowNo":false},"custom":{"name":"custom","type":"option","char":"c","description":"custom unattended configuration","multiple":false},"domain":{"name":"domain","type":"option","char":"d","description":"Domain name, defult: .local","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"ip":{"name":"ip","type":"boolean","char":"i","description":"hostname as ip, eg: ip-192-168-1-33","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"assume yes","allowNo":false},"none":{"name":"none","type":"boolean","char":"N","description":"Swap none: 256M","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"random":{"name":"random","type":"boolean","char":"r","description":"Add random to hostname, eg: colibri-ay412dt","allowNo":false},"small":{"name":"small","type":"boolean","char":"s","description":"Swap small: RAM","allowNo":false},"suspend":{"name":"suspend","type":"boolean","char":"S","description":"Swap suspend: RAM x 2","allowNo":false},"unattended":{"name":"unattended","type":"boolean","char":"u","description":"Unattended installation","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":["sudo eggs kill"],"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 help from mommy - TUI helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs mom"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"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":[],"examples":["sudo eggs produce","sudo eggs produce --fast","sudo eggs produce --max","sudo eggs produce --fast --basename=colibri","sudo eggs produce --fast --basename=colibri --theme /path/to/theme --addons adapt","sudo eggs produce --fast --clone","sudo eggs produce --fast --backup"],"flags":{"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"backup":{"name":"backup","type":"boolean","char":"b","description":"backup mode (CRYPTED)","allowNo":false},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"clone":{"name":"clone","type":"boolean","char":"c","description":"clone mode","allowNo":false},"fast":{"name":"fast","type":"boolean","char":"f","description":"fast compression","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"don't ask for user interctions","allowNo":false},"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"release":{"name":"release","type":"boolean","description":"release: max compression, remove penguins-eggs and calamares after installation","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":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}},"args":[]},"status":{"id":"status","description":"informations about eggs status","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs status"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"syncfrom":{"id":"syncfrom","description":"restore users and user data from a LUKS volumes","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs restore","sudo eggs restore --file /path/to/fileLUKS"],"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},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"syncto":{"id":"syncto","description":"saves users and user data in a LUKS volume inside the iso","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncto","sudo eggs syncto --file /path/to/fileLUKS"],"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":[]},"update":{"id":"update","description":"update the penguin's eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs update"],"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":[]},"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":[],"examples":["eggs export deb","eggs export deb --clean","eggs export deb --all"],"flags":{"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","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":[]},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export iso","eggs export iso --clean","eggs export iso --backup"],"flags":{"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},"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:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools 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:ppa":{"id":"tools:ppa","description":"add/remove PPA repositories (Debian family)","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools ppa --add","sudo eggs tools ppa --remove"],"flags":{"add":{"name":"add","type":"boolean","char":"a","description":"add penguins-eggs PPA repository","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove penguins-eggs PPA repository","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":[],"examples":["sudo eggs skel","sudo eggs skel --user user-to-be-copied"],"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":[],"examples":["eggs tools stat","eggs tools stat --month","eggs tools stat --year"],"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":["sudo eggs yolk"],"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":"/var/local/yolk"},"wardrobe:get":{"id":"wardrobe:get","description":"get warorobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe get","eggs wardrobe get your-wardrobe"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}]},"wardrobe:list":{"id":"wardrobe:list","description":"list costumes and accessoires in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe list","eggs wardrobe list your-wardrove"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"wardrobe","description":"wardrobe","required":false}]},"wardrobe:show":{"id":"wardrobe:show","description":"show costumes/accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}],"example":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"]},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs wardrobe wear duck","sudo eggs wardrobe wear accessories/firmwares","sudo eggs wardrobe wear wagtail/waydroid"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"no_accessories":{"name":"no_accessories","type":"boolean","char":"a","description":"not install accessories","allowNo":false},"no_firmwares":{"name":"no_firmwares","type":"boolean","char":"f","description":"not install firmwares","allowNo":false},"silent":{"name":"silent","type":"boolean","char":"s","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}]}}}
package/README.md CHANGED
@@ -207,7 +207,7 @@ EXAMPLES
207
207
  $ eggs adapt
208
208
  ```
209
209
 
210
- _See code: [dist/commands/adapt.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/adapt.js)_
210
+ _See code: [dist/commands/adapt.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.24/dist/commands/adapt.js)_
211
211
 
212
212
  ## `eggs analyze`
213
213
 
@@ -228,7 +228,7 @@ EXAMPLES
228
228
  sudo eggs analyze
229
229
  ```
230
230
 
231
- _See code: [dist/commands/analyze.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/analyze.js)_
231
+ _See code: [dist/commands/analyze.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.24/dist/commands/analyze.js)_
232
232
 
233
233
  ## `eggs autocomplete [SHELL]`
234
234
 
@@ -288,7 +288,7 @@ EXAMPLES
288
288
  sudo eggs calamares --remove
289
289
  ```
290
290
 
291
- _See code: [dist/commands/calamares.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/calamares.js)_
291
+ _See code: [dist/commands/calamares.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.24/dist/commands/calamares.js)_
292
292
 
293
293
  ## `eggs config`
294
294
 
@@ -315,7 +315,7 @@ EXAMPLES
315
315
  sudo eggs config --clean --noninteractive
316
316
  ```
317
317
 
318
- _See code: [dist/commands/config.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/config.js)_
318
+ _See code: [dist/commands/config.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.24/dist/commands/config.js)_
319
319
 
320
320
  ## `eggs cuckoo`
321
321
 
@@ -335,7 +335,7 @@ EXAMPLES
335
335
  sudo eggs cuckoo
336
336
  ```
337
337
 
338
- _See code: [dist/commands/cuckoo.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/cuckoo.js)_
338
+ _See code: [dist/commands/cuckoo.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.24/dist/commands/cuckoo.js)_
339
339
 
340
340
  ## `eggs dad`
341
341
 
@@ -362,7 +362,7 @@ EXAMPLES
362
362
  sudo dad --default
363
363
  ```
364
364
 
365
- _See code: [dist/commands/dad.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/dad.js)_
365
+ _See code: [dist/commands/dad.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.24/dist/commands/dad.js)_
366
366
 
367
367
  ## `eggs export deb`
368
368
 
@@ -468,7 +468,7 @@ EXAMPLES
468
468
  sudo eggs install --custom it
469
469
  ```
470
470
 
471
- _See code: [dist/commands/install.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/install.js)_
471
+ _See code: [dist/commands/install.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.24/dist/commands/install.js)_
472
472
 
473
473
  ## `eggs kill`
474
474
 
@@ -489,7 +489,7 @@ EXAMPLES
489
489
  sudo eggs kill
490
490
  ```
491
491
 
492
- _See code: [dist/commands/kill.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/kill.js)_
492
+ _See code: [dist/commands/kill.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.24/dist/commands/kill.js)_
493
493
 
494
494
  ## `eggs mom`
495
495
 
@@ -509,7 +509,7 @@ EXAMPLES
509
509
  $ eggs mom
510
510
  ```
511
511
 
512
- _See code: [dist/commands/mom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/mom.js)_
512
+ _See code: [dist/commands/mom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.24/dist/commands/mom.js)_
513
513
 
514
514
  ## `eggs produce`
515
515
 
@@ -555,7 +555,7 @@ EXAMPLES
555
555
  sudo eggs produce --fast --backup
556
556
  ```
557
557
 
558
- _See code: [dist/commands/produce.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/produce.js)_
558
+ _See code: [dist/commands/produce.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.24/dist/commands/produce.js)_
559
559
 
560
560
  ## `eggs status`
561
561
 
@@ -576,7 +576,7 @@ EXAMPLES
576
576
  $ eggs status
577
577
  ```
578
578
 
579
- _See code: [dist/commands/status.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/status.js)_
579
+ _See code: [dist/commands/status.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.24/dist/commands/status.js)_
580
580
 
581
581
  ## `eggs syncfrom`
582
582
 
@@ -602,7 +602,7 @@ EXAMPLES
602
602
  sudo eggs restore --file /path/to/fileLUKS
603
603
  ```
604
604
 
605
- _See code: [dist/commands/syncfrom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/syncfrom.js)_
605
+ _See code: [dist/commands/syncfrom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.24/dist/commands/syncfrom.js)_
606
606
 
607
607
  ## `eggs syncto`
608
608
 
@@ -627,7 +627,7 @@ EXAMPLES
627
627
  sudo eggs syncto --file /path/to/fileLUKS
628
628
  ```
629
629
 
630
- _See code: [dist/commands/syncto.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/syncto.js)_
630
+ _See code: [dist/commands/syncto.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.24/dist/commands/syncto.js)_
631
631
 
632
632
  ## `eggs tools clean`
633
633
 
@@ -755,7 +755,7 @@ EXAMPLES
755
755
  $ eggs update
756
756
  ```
757
757
 
758
- _See code: [dist/commands/update.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/update.js)_
758
+ _See code: [dist/commands/update.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.24/dist/commands/update.js)_
759
759
 
760
760
  ## `eggs version`
761
761
 
@@ -908,4 +908,4 @@ There is a [Penguin's eggs official book](https://penguins-eggs.net/book/) and s
908
908
  You can contact me at pieroproietti@gmail.com or [meet me](https://meet.jit.si/PenguinsEggsMeeting)
909
909
 
910
910
  ## Copyright and licenses
911
- Copyright (c) 2017, 2022 [Piero Proietti](https://penguins-eggs.net/about-me.html), dual licensed under the MIT or GPL Version 2 licenses.
911
+ Copyright (c) 2017, 2023 [Piero Proietti](https://penguins-eggs.net/about-me.html), dual licensed under the MIT or GPL Version 2 licenses.
@@ -299,7 +299,7 @@ class Sequence {
299
299
  message = "settings keyboard ";
300
300
  percent = 0.48;
301
301
  try {
302
- this.keyboard();
302
+ await this.keyboard();
303
303
  }
304
304
  catch (error) {
305
305
  await utils_1.default.pressKeyToExit(JSON.stringify(error));
@@ -308,7 +308,8 @@ class Sequence {
308
308
  message = "localeCfg";
309
309
  percent = 0.50;
310
310
  try {
311
- this.localeCfg();
311
+ await this.localeCfg();
312
+ await (0, utils_2.exec)("chroot " + this.installTarget + " locale-gen");
312
313
  }
313
314
  catch (error) {
314
315
  await utils_1.default.pressKeyToExit(JSON.stringify(error));
@@ -317,7 +318,7 @@ class Sequence {
317
318
  message = "networkcfg";
318
319
  percent = 0.50;
319
320
  try {
320
- this.networkCfg();
321
+ await this.networkCfg();
321
322
  }
322
323
  catch (error) {
323
324
  await utils_1.default.pressKeyToExit(JSON.stringify(error));
@@ -337,7 +338,7 @@ class Sequence {
337
338
  percent = 0.55;
338
339
  try {
339
340
  await redraw(react_1.default.createElement(install_1.default, { message: message, percent: percent }));
340
- this.initramfsCfg(this.partitions.installationDevice);
341
+ await this.initramfsCfg(this.partitions.installationDevice);
341
342
  }
342
343
  catch (error) {
343
344
  await utils_1.default.pressKeyToExit(JSON.stringify(error));
@@ -47,10 +47,11 @@ async function localeCfg() {
47
47
  }
48
48
  localeGenDest += '\n';
49
49
  localeGenDest += krillBookmark;
50
- const locales = [this.language];
50
+ const locales = [];
51
51
  if (this.language !== 'en_US.UTF-8') {
52
52
  locales.push('en_US.UTF-8');
53
53
  }
54
+ locales.push(this.language);
54
55
  for (const supported of supporteds) {
55
56
  for (const locale of locales) {
56
57
  if (supported.includes(locale)) {
@@ -19,7 +19,7 @@ async function locale() {
19
19
  * - /etc/locale.conf
20
20
  * - /etc/timezone
21
21
  */
22
- let defaultLocale = 'en_US.UTF-8';
22
+ let defaultLocale = this.language;
23
23
  // /etc/default/locale
24
24
  let file = this.installTarget + '/etc/default/locale';
25
25
  let content = ``;
@@ -47,7 +47,7 @@ async function mKeyboard() {
47
47
  if (utils_1.default.isSystemd()) {
48
48
  let content = '# KEYBOARD CONFIGURATION FILE\n\n';
49
49
  content += '# Consult the keyboard(5) manual page.\n\n';
50
- content += '# See penguins-eggs/src/krill/modules/set-keyboard.ts\n\n';
50
+ content += '# See penguins-eggs/src/krill/modules/m-keyboard.ts\n\n';
51
51
  content += 'XKBMODEL="' + this.keyboardModel + '"\n';
52
52
  content += 'XKBLAYOUT="' + this.keyboardLayout + '"\n';
53
53
  content += 'XKBVARIANT="' + this.keyboardVariant + '"\n';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "penguins-eggs",
3
3
  "description": "Perri's Brewery edition: remaster your system and distribuite it",
4
- "version": "9.3.23",
4
+ "version": "9.3.24",
5
5
  "author": "Piero Proietti @pieroproietti",
6
6
  "bin": {
7
7
  "eggs": "bin/run"
package/scripts/mom.sh CHANGED
@@ -5,7 +5,7 @@ function main() {
5
5
  # root
6
6
  root=$(cat /usr/lib/penguins-eggs/.oclif.manifest.json | jq .)
7
7
  result=$(echo ${root} | jq ".commands[].id")
8
- result+=("quit")
8
+ result+=("documentation" "quit")
9
9
 
10
10
  while true; do
11
11
  clear
@@ -15,6 +15,8 @@ function main() {
15
15
  case "$answer" in
16
16
  quit)
17
17
  exit ;;
18
+ documentation)
19
+ documentation ;;
18
20
  *)
19
21
  eggs $answer --help
20
22
  press_a_key_to_continue
@@ -24,6 +26,68 @@ function main() {
24
26
  exit 0
25
27
  }
26
28
 
29
+
30
+ ################################
31
+ function documentation() {
32
+ while true; do
33
+
34
+ menu "book" "manual" "man" "repository" "sourceforge" "quit"
35
+ choose=$(0< "${dir_tmp}/${file_tmp}" )
36
+
37
+ case "$choose" in
38
+ book)
39
+ documentation_book ;;
40
+ manual)
41
+ documentation_html ;;
42
+ man)
43
+ documentation_man ;;
44
+ repository)
45
+ documentation_repository ;;
46
+ sourceforge)
47
+ documentation_sourceforge ;;
48
+ quit)
49
+ break ;;
50
+ esac
51
+ done
52
+ }
53
+
54
+ ################################
55
+ function documentation_book() {
56
+ xdg-open "https://penguins-eggs.net/book/italiano"
57
+ }
58
+
59
+ ################################
60
+ function documentation_site() {
61
+ xdg-open "https://penguins-eggs.net"
62
+ }
63
+
64
+ ################################
65
+ function documentation_html() {
66
+ xdg-open "file:///usr/lib/penguins-eggs/manpages/doc/man/eggs.html"
67
+ }
68
+
69
+ ################################
70
+ function documentation_man() {
71
+ man eggs
72
+ }
73
+
74
+ ################################
75
+ function documentation_repository() {
76
+ xdg-open "https://github.com/pieroproietti/penguins-eggs"
77
+ }
78
+
79
+ ################################
80
+ function documentation_sourceforge() {
81
+ xdg-open "https://sourceforge.com/project/penguins-eggs"
82
+ }
83
+
84
+
85
+
86
+ ################################
87
+ function press_a_key_to_continue {
88
+ read -rp "Press enter to continue"
89
+ }
90
+
27
91
  ################################
28
92
  function query() {
29
93
  local retval=$(echo ${root} | jq "${filter}")
@@ -40,17 +104,143 @@ function config() {
40
104
  LANG=C
41
105
 
42
106
  # easy-bash-gui
43
- MSP=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
44
- source ${MSP}/includes/easybashgui
45
- source ${MSP}/includes/easybashgui.lib
46
- source ${MSP}/includes/common.sh
107
+ eb_incl easybashgui
47
108
  }
48
109
 
49
- ################################
50
- function press_a_key_to_continue {
51
- read -rp "Press enter to continue"
110
+ ##################################################################################
111
+ ##################################################################################
112
+ ##################################################################################
113
+ ##################################################################################
114
+ #
115
+ # The master copy of the "easybashincl code snippet" is
116
+ # being maintained in easybashgui (as it loads easybashlib).
117
+ #
118
+ ##################################################################################
119
+ ##################################################################################
120
+ ################## BEGIN easybashincl code snippet ###############################
121
+ ##################################################################################
122
+ #
123
+
124
+ # avoid repeated definitions
125
+ function eb_incl_loading_required()
126
+ {
127
+ local this_eb_incl_version="4"
128
+
129
+ if [ "${eb_incl_snippet__version:-0}" = "0" ] \
130
+ || [ "${this_eb_incl_version}" -gt "${eb_incl_snippet__version}" ]
131
+ then
132
+ declare eb_incl_snippet__version="${this_eb_incl_version}"
133
+ return 0
134
+ else
135
+ return 1
136
+ fi
52
137
  }
53
138
 
139
+
140
+ declare eb_current_process_path="$(echo "${0}" | sed s\#'^-'#''# )"
141
+ if eb_incl_loading_required
142
+ then
143
+
144
+ declare eb_runtime_invoke_path="${eb_current_process_path}"
145
+ declare eb_runtime_invoke_name="$(basename "${eb_current_process_path}" )"
146
+ declare eb_runtime_abs_invoke_dir
147
+
148
+
149
+ function eb_absolute_path()
150
+ # Returns the absolute path of the given path (or of the running script if no path is specified).
151
+ {
152
+ if [ "$#" = "0" ]
153
+ then
154
+ local given_path="$0"
155
+ else
156
+ local given_path="$1"
157
+ fi
158
+
159
+ # if path is already absolute
160
+ if [ "x${given_path:0:1}" = 'x/' ]
161
+ then
162
+ echo $(dirname "$given_path")
163
+ else
164
+ echo $(dirname "$(pwd)/$given_path")
165
+ fi
166
+ }
167
+
168
+
169
+ eb_runtime_abs_invoke_dir=$(eb_absolute_path)
170
+
171
+
172
+ # eb_incl() lets you include files into your main script (modularization)
173
+ # it searches for file in system, same dir, and $SHELL_LIBRARY_PATH
174
+ #
175
+ function eb_incl() {
176
+ local module=$1
177
+
178
+ if [ "${module:-unspecified}" = "unspecified" ]
179
+ then
180
+ echo "$eb_runtime_invoke_name: eb_incl: No module specified." 1>&2
181
+ return 1
182
+ fi
183
+
184
+ if [ "x${eb_runtime_abs_invoke_dir:-notset}" == "xnotset" ]
185
+ then
186
+ echo "$eb_runtime_invoke_name: eb_incl: Error, eb_runtime_abs_invoke_dir not set."
187
+ exit 1
188
+ fi
189
+
190
+ if [ "x$eb_runtime_abs_invoke_dir" == "x" ]
191
+ then
192
+ echo "$eb_runtime_invoke_name: eb_incl: Error, eb_runtime_abs_invoke_dir is empty."
193
+ exit 1
194
+ fi
195
+
196
+ # if installed in system's PATH
197
+ if type "$module" &>/dev/null
198
+ then
199
+ source "$module"
200
+ return 0
201
+
202
+ # if in same dir
203
+ elif [ -e "$eb_runtime_abs_invoke_dir/$module" ]
204
+ then
205
+ source "$eb_runtime_abs_invoke_dir/$module"
206
+ return 0
207
+
208
+ # if in includes/ subdir
209
+ elif [ -e "$eb_runtime_abs_invoke_dir/includes" ] \
210
+ && [ -e "$eb_runtime_abs_invoke_dir/includes/$module" ]
211
+ then
212
+ source "$eb_runtime_abs_invoke_dir/includes/$module"
213
+ return 0
214
+
215
+ # if in "libexec_dir"
216
+ elif [ -e "$libexec_dir/$module" ]
217
+ then
218
+ source "$libexec_dir/$module"
219
+ return 0
220
+
221
+ # if lib path is defined
222
+ elif [ "${SHELL_LIBRARY_PATH:-unset}" != "unset" ]
223
+ then
224
+ local saved_IFS="$IFS"
225
+ IFS=':'
226
+ for path in $SHELL_LIBRARY_PATH
227
+ do
228
+ if [ -e "$path/$module" ]
229
+ then
230
+ source "$path/$module"
231
+ return 0
232
+ fi
233
+ done
234
+ IFS="$saved_IFS"
235
+
236
+ fi
237
+ echo -e "$eb_runtime_invoke_name: eb_incl: Could not find requested module \"$module\" in \$PATH, $eb_runtime_abs_invoke_dir, an includes/ subdirectory, or \$SHELL_LIBRARY_PATH." 1>&2 && return 1
238
+ #exit 1
239
+ }
240
+ fi
241
+
242
+ ################## END easybashincl code snippet #################################
243
+
54
244
  main
55
245
 
56
246
  # EOF()
@@ -1,59 +0,0 @@
1
- #!/bin/bash
2
- # set -e
3
-
4
- export PATH="$MAIN_SCRIPT_PATH/includes:$PATH"
5
-
6
- #setup colors
7
- red=`tput setaf 1`
8
- green=`tput setaf 2`
9
- yellow=`tput setaf 3`
10
- blue=`tput setaf 4`
11
- purple=`tput setaf 5`
12
- teal=`tput setaf 6`
13
- light=`tput setaf 7`
14
- dark=`tput setaf 8`
15
- ltred=`tput setaf 9`
16
- ltgreen=`tput setaf 10`
17
- ltyellow=`tput setaf 11`
18
- ltblue=`tput setaf 12`
19
- ltpurple=`tput setaf 13`
20
- CL_CYN=`tput setaf 12`
21
- CL_RST=`tput sgr0`
22
- reset=`tput sgr0`
23
-
24
- ask() {
25
- # https://djm.me/ask
26
- local prompt default reply
27
-
28
- if [ "${2:-}" = "Y" ]; then
29
- prompt="Y/n"
30
- default=Y
31
- elif [ "${2:-}" = "N" ]; then
32
- prompt="y/N"
33
- default=N
34
- else
35
- prompt="y/n"
36
- default=
37
- fi
38
-
39
- while true; do
40
-
41
- # Ask the question (not using "read -p" as it uses stderr not stdout)
42
- echo -n "$1 [$prompt] "
43
-
44
- # Read the answer (use /dev/tty in case stdin is redirected from somewhere else)
45
- read reply </dev/tty
46
-
47
- # Default?
48
- if [ -z "$reply" ]; then
49
- reply=$default
50
- fi
51
-
52
- # Check if the reply is valid
53
- case "$reply" in
54
- Y*|y*) return 0 ;;
55
- N*|n*) return 1 ;;
56
- esac
57
-
58
- done
59
- }