penguins-eggs 9.3.3 → 9.3.4

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.3","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","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":[]},"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":"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},"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}},"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\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":[]},"cuckoo":{"id":"cuckoo","description":"PXE start with proxy-dhcp","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs cuckoo\nstart a PXE server with dhcp-proxy (can coexists with a real dhcp server)\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","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":[]},"install":{"id":"install","description":"command-line system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs install\nInstall the system using krill installer\n"],"flags":{"unattended":{"name":"unattended","type":"boolean","char":"u","description":"Unattended installation","allowNo":false},"ip":{"name":"ip","type":"boolean","char":"i","description":"hostname as ip, eg: ip-192-168-1-33","allowNo":false},"random":{"name":"random","type":"boolean","char":"r","description":"Add random to hostname, eg: colibri-ay412dt","allowNo":false},"domain":{"name":"domain","type":"option","char":"d","description":"Domain name, defult: .local","multiple":false},"suspend":{"name":"suspend","type":"boolean","char":"S","description":"Swap suspend: RAM x 2","allowNo":false},"small":{"name":"small","type":"boolean","char":"s","description":"Swap small: RAM","allowNo":false},"none":{"name":"none","type":"boolean","char":"n","description":"Swap none: 256M","allowNo":false},"crypted":{"name":"crypted","type":"boolean","char":"k","description":"Crypted CLI installation","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"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":"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 \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 (CRYPTED)","allowNo":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},"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: max compression, remove penguins-eggs and calamares after installation","allowNo":false}},"args":[]},"status":{"id":"status","description":"informations about eggs status","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":[]},"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"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"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"],"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\nupdate/upgrade the penguin's eggs tool"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"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":[],"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":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"add":{"name":"add","type":"boolean","char":"a","description":"add penguins-eggs PPA repository","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":["$ 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":[],"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":"/var/local/yolk"},"wardrobe:get":{"id":"wardrobe:get","description":"get warorobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}]},"wardrobe:ironing":{"id":"wardrobe:ironing","description":"ordered show of costumes or accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}]},"wardrobe:list":{"id":"wardrobe:list","description":"list costumes and accessoires in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"wardrobe","description":"wardrobe","required":false}]},"wardrobe:show":{"id":"wardrobe:show","description":"show costumes/accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}]},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"no_accessories":{"name":"no_accessories","type":"boolean","char":"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},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}]}}}
1
+ {"version":"9.3.4","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","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":[]},"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":"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},"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}},"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\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":[]},"cuckoo":{"id":"cuckoo","description":"PXE start with proxy-dhcp","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs cuckoo\nstart a PXE server with dhcp-proxy (can coexists with a real dhcp server)\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","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":[]},"install":{"id":"install","description":"command-line system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs install\nInstall the system using krill installer\n"],"flags":{"unattended":{"name":"unattended","type":"boolean","char":"u","description":"Unattended installation","allowNo":false},"ip":{"name":"ip","type":"boolean","char":"i","description":"hostname as ip, eg: ip-192-168-1-33","allowNo":false},"random":{"name":"random","type":"boolean","char":"r","description":"Add random to hostname, eg: colibri-ay412dt","allowNo":false},"domain":{"name":"domain","type":"option","char":"d","description":"Domain name, defult: .local","multiple":false},"suspend":{"name":"suspend","type":"boolean","char":"S","description":"Swap suspend: RAM x 2","allowNo":false},"small":{"name":"small","type":"boolean","char":"s","description":"Swap small: RAM","allowNo":false},"none":{"name":"none","type":"boolean","char":"n","description":"Swap none: 256M","allowNo":false},"crypted":{"name":"crypted","type":"boolean","char":"k","description":"Crypted CLI installation","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"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":"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 \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 (CRYPTED)","allowNo":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},"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: max compression, remove penguins-eggs and calamares after installation","allowNo":false}},"args":[]},"status":{"id":"status","description":"informations about eggs status","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":[]},"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"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"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"],"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\nupdate/upgrade the penguin's eggs tool"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"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},"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},"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":[],"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},"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":[],"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":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"add":{"name":"add","type":"boolean","char":"a","description":"add penguins-eggs PPA repository","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":["$ 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":[],"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":"/var/local/yolk"},"wardrobe:get":{"id":"wardrobe:get","description":"get warorobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}]},"wardrobe:ironing":{"id":"wardrobe:ironing","description":"ordered show of costumes or accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}]},"wardrobe:list":{"id":"wardrobe:list","description":"list costumes and accessoires in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"wardrobe","description":"wardrobe","required":false}]},"wardrobe:show":{"id":"wardrobe:show","description":"show costumes/accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}]},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"no_accessories":{"name":"no_accessories","type":"boolean","char":"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},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}]}}}
package/README.md CHANGED
@@ -12,7 +12,6 @@ penguins-eggs
12
12
  [![deb](https://img.shields.io/badge/deb-packages-blue)](https://sourceforge.net/projects/penguins-eggs/files/DEBS)
13
13
  [![pkgbuild](https://img.shields.io/badge/pkgbuild-packages-blue)](https://sourceforge.net/projects/penguins-eggs/files/PKGBUILD)
14
14
  [![iso](https://img.shields.io/badge/iso-images-cyan)](https://sourceforge.net/projects/penguins-eggs/files/ISOS)
15
- [![Download Penguin's eggs](https://img.shields.io/sourceforge/dd/penguins-eggs.svg)](https://sourceforge.net/projects/penguins-eggs/files/latest/download)
16
15
 
17
16
  # Index
18
17
  <!-- toc -->
@@ -23,7 +22,7 @@ penguins-eggs
23
22
  * [Packages](#packages)
24
23
  * [Usage](#usage)
25
24
  * [Commands](#commands)
26
- * [Manual](#manual)
25
+ * [Penguin's eggs official book](#penguins-eggs-official-book)
27
26
  * [That's all Folks!](#thats-all-folks)
28
27
  <!-- tocstop -->
29
28
 
@@ -68,7 +67,7 @@ yolk - so called staying on the subject of eggs - is a local repository included
68
67
  ## GUI calamares or TUI krill installer
69
68
  eggs include a TUI installer named krill, this let you to produce and install servers configurations. krill use a nice TUI interface using the same, configuration created by eggs for [calamares](https://calamares.io/). This lead to have "about the same" experience installing, from old distros to new ones and for GUI and CLI. It's possible with krill to do unattended installations, simply add ```--unattended``` flag and the values in ```/etc/penguins-eggs.d/krill.yaml``` will be used for installation.
70
69
 
71
- ## helper: mom and dad
70
+ ## mom and dad
72
71
  I've added two lightweight assistants integrated with eggs: mom and dad. While mom is a bash script with whiptail - and guides the user to the various commands and documentation, dad started as a short way to create isos. All you have to do is type **sudo eggs dad** and follow simple instructions. You can also shortcut the way to reset the configuration **sudo dad -c** or - even faster - reset the configuration, load defaults, kill created isos: simply type **sudo eggs dad -d** and you will immediately be able to produce the egg in the default /home/eggs nest.
73
72
 
74
73
 
@@ -151,7 +150,7 @@ Once the package has been installed, you can have the new ```eggs``` command. Ty
151
150
 
152
151
  Especially during the first trials, you should always use the ```--fast``` flag that will ensure a fast creation of the ISO, later you can use ```--max``` flag and get ISOs more compressed.
153
152
 
154
- In addition to the description of the commands in this README, you can consult the [Penguin's eggs official book](https://penguins-eggs.net/book/).
153
+ In addition to the description of the commands in this README, you can consult the [Penguin's eggs official book](#penguins-eggs-official-book).
155
154
 
156
155
 
157
156
  # Commands
@@ -164,7 +163,6 @@ In addition to the description of the commands in this README, you can consult t
164
163
  * [`eggs cuckoo`](#eggs-cuckoo)
165
164
  * [`eggs dad`](#eggs-dad)
166
165
  * [`eggs export deb`](#eggs-export-deb)
167
- * [`eggs export docs`](#eggs-export-docs)
168
166
  * [`eggs export iso`](#eggs-export-iso)
169
167
  * [`eggs help [COMMAND]`](#eggs-help-command)
170
168
  * [`eggs install`](#eggs-install)
@@ -203,7 +201,7 @@ DESCRIPTION
203
201
  adapt monitor resolution for VM only
204
202
  ```
205
203
 
206
- _See code: [dist/commands/adapt.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.3/dist/commands/adapt.js)_
204
+ _See code: [dist/commands/adapt.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.4/dist/commands/adapt.js)_
207
205
 
208
206
  ## `eggs analyze`
209
207
 
@@ -224,7 +222,7 @@ EXAMPLES
224
222
  $ sudo eggs analyze
225
223
  ```
226
224
 
227
- _See code: [dist/commands/analyze.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.3/dist/commands/analyze.js)_
225
+ _See code: [dist/commands/analyze.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.4/dist/commands/analyze.js)_
228
226
 
229
227
  ## `eggs autocomplete [SHELL]`
230
228
 
@@ -253,7 +251,7 @@ EXAMPLES
253
251
  $ eggs autocomplete --refresh-cache
254
252
  ```
255
253
 
256
- _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.3.2/src/commands/autocomplete/index.ts)_
254
+ _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.3.3/src/commands/autocomplete/index.ts)_
257
255
 
258
256
  ## `eggs calamares`
259
257
 
@@ -282,7 +280,7 @@ EXAMPLES
282
280
  install calamares and create it's configuration's files
283
281
  ```
284
282
 
285
- _See code: [dist/commands/calamares.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.3/dist/commands/calamares.js)_
283
+ _See code: [dist/commands/calamares.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.4/dist/commands/calamares.js)_
286
284
 
287
285
  ## `eggs config`
288
286
 
@@ -306,7 +304,7 @@ EXAMPLES
306
304
  Configure and install prerequisites deb packages to run it
307
305
  ```
308
306
 
309
- _See code: [dist/commands/config.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.3/dist/commands/config.js)_
307
+ _See code: [dist/commands/config.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.4/dist/commands/config.js)_
310
308
 
311
309
  ## `eggs cuckoo`
312
310
 
@@ -327,7 +325,7 @@ EXAMPLES
327
325
  start a PXE server with dhcp-proxy (can coexists with a real dhcp server)
328
326
  ```
329
327
 
330
- _See code: [dist/commands/cuckoo.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.3/dist/commands/cuckoo.js)_
328
+ _See code: [dist/commands/cuckoo.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.4/dist/commands/cuckoo.js)_
331
329
 
332
330
  ## `eggs dad`
333
331
 
@@ -347,7 +345,7 @@ DESCRIPTION
347
345
  ask help from daddy - configuration helper
348
346
  ```
349
347
 
350
- _See code: [dist/commands/dad.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.3/dist/commands/dad.js)_
348
+ _See code: [dist/commands/dad.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.4/dist/commands/dad.js)_
351
349
 
352
350
  ## `eggs export deb`
353
351
 
@@ -355,48 +353,31 @@ export deb/docs/iso to the destination host
355
353
 
356
354
  ```
357
355
  USAGE
358
- $ eggs export deb [-h] [-c] [--amd64] [--i386] [--armel] [--arm64] [-a]
356
+ $ eggs export deb [-h] [-a] [-c] [-v]
359
357
 
360
358
  FLAGS
361
- -a, --all export all archs
362
- -c, --clean remove old .deb before to copy
363
- -h, --help Show CLI help.
364
- --amd64 export amd64 arch
365
- --arm64 export arm64 arch
366
- --armel export armel arch
367
- --i386 export i386 arch
359
+ -a, --all export all archs
360
+ -c, --clean remove old .deb before to copy
361
+ -h, --help Show CLI help.
362
+ -v, --verbose verbose
368
363
 
369
364
  DESCRIPTION
370
365
  export deb/docs/iso to the destination host
371
366
  ```
372
367
 
373
- ## `eggs export docs`
374
-
375
- remove and export docType documentation of the sources in the destination host
376
-
377
- ```
378
- USAGE
379
- $ eggs export docs [-h]
380
-
381
- FLAGS
382
- -h, --help Show CLI help.
383
-
384
- DESCRIPTION
385
- remove and export docType documentation of the sources in the destination host
386
- ```
387
-
388
368
  ## `eggs export iso`
389
369
 
390
370
  export iso in the destination host
391
371
 
392
372
  ```
393
373
  USAGE
394
- $ eggs export iso [-h] [-b] [-c]
374
+ $ eggs export iso [-h] [-b] [-c] [-v]
395
375
 
396
376
  FLAGS
397
- -b, --backup export backup ISOs
398
- -c, --clean delete old ISOs before to copy
399
- -h, --help Show CLI help.
377
+ -b, --backup export backup ISOs
378
+ -c, --clean delete old ISOs before to copy
379
+ -h, --help Show CLI help.
380
+ -v, --verbose verbose
400
381
 
401
382
  DESCRIPTION
402
383
  export iso in the destination host
@@ -420,7 +401,7 @@ DESCRIPTION
420
401
  Display help for eggs.
421
402
  ```
422
403
 
423
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.15/src/commands/help.ts)_
404
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.16/src/commands/help.ts)_
424
405
 
425
406
  ## `eggs install`
426
407
 
@@ -451,7 +432,7 @@ EXAMPLES
451
432
  Install the system using krill installer
452
433
  ```
453
434
 
454
- _See code: [dist/commands/install.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.3/dist/commands/install.js)_
435
+ _See code: [dist/commands/install.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.4/dist/commands/install.js)_
455
436
 
456
437
  ## `eggs kill`
457
438
 
@@ -473,7 +454,7 @@ EXAMPLES
473
454
  kill the eggs/free the nest
474
455
  ```
475
456
 
476
- _See code: [dist/commands/kill.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.3/dist/commands/kill.js)_
457
+ _See code: [dist/commands/kill.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.4/dist/commands/kill.js)_
477
458
 
478
459
  ## `eggs mom`
479
460
 
@@ -490,7 +471,7 @@ DESCRIPTION
490
471
  ask for mommy - gui helper
491
472
  ```
492
473
 
493
- _See code: [dist/commands/mom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.3/dist/commands/mom.js)_
474
+ _See code: [dist/commands/mom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.4/dist/commands/mom.js)_
494
475
 
495
476
  ## `eggs produce`
496
477
 
@@ -552,7 +533,7 @@ EXAMPLES
552
533
  in /home/eggs/ovarium and you can customize all you need
553
534
  ```
554
535
 
555
- _See code: [dist/commands/produce.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.3/dist/commands/produce.js)_
536
+ _See code: [dist/commands/produce.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.4/dist/commands/produce.js)_
556
537
 
557
538
  ## `eggs status`
558
539
 
@@ -570,7 +551,7 @@ DESCRIPTION
570
551
  informations about eggs status
571
552
  ```
572
553
 
573
- _See code: [dist/commands/status.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.3/dist/commands/status.js)_
554
+ _See code: [dist/commands/status.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.4/dist/commands/status.js)_
574
555
 
575
556
  ## `eggs syncfrom`
576
557
 
@@ -594,7 +575,7 @@ EXAMPLES
594
575
  $ sudo eggs restore
595
576
  ```
596
577
 
597
- _See code: [dist/commands/syncfrom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.3/dist/commands/syncfrom.js)_
578
+ _See code: [dist/commands/syncfrom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.4/dist/commands/syncfrom.js)_
598
579
 
599
580
  ## `eggs syncto`
600
581
 
@@ -617,7 +598,7 @@ EXAMPLES
617
598
  $ sudo eggs syncto
618
599
  ```
619
600
 
620
- _See code: [dist/commands/syncto.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.3/dist/commands/syncto.js)_
601
+ _See code: [dist/commands/syncto.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.4/dist/commands/syncto.js)_
621
602
 
622
603
  ## `eggs tools clean`
623
604
 
@@ -730,7 +711,7 @@ EXAMPLES
730
711
  update/upgrade the penguin's eggs tool
731
712
  ```
732
713
 
733
- _See code: [dist/commands/update.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.3/dist/commands/update.js)_
714
+ _See code: [dist/commands/update.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.4/dist/commands/update.js)_
734
715
 
735
716
  ## `eggs version`
736
717
 
@@ -855,11 +836,11 @@ DESCRIPTION
855
836
  ```
856
837
  <!-- commandsstop -->
857
838
 
858
- # Manual
839
+ # Penguin's eggs official book
859
840
  The original edition of the eggs manual is released in Italian, of course other languages can be accessed using machine translation.
860
841
 
861
- * [Manuale in italiano 9.2.x](https://penguins-eggs.net/book/italiano9.2.html)
862
- * [English manual 9.2.x](https://penguins--eggs-net.translate.goog/book/italiano9.2?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en)
842
+ * [Manuale in italiano 9.3.x](https://penguins-eggs.net/book/italiano9.3.html)
843
+ * [English manual 9.3.x](https://penguins--eggs-net.translate.goog/book/italiano9.3?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en)
863
844
 
864
845
 
865
846
  ![terminal samples](https://github.com/pieroproietti/penguins-eggs/blob/master/documents/terminal-lessons/eggs_help.gif?raw=true)
@@ -3,7 +3,7 @@
3
3
  Encoding=UTF-8
4
4
  Name=adapt resolution
5
5
  Type=Application
6
- Exec=/usr/local/bin/adapt
6
+ Exec=/usr/bin/adapt
7
7
  Icon=video-display
8
8
  Categories=GNOME;GTK;Utility;
9
9
  Name[it]=Adatta risoluzione
package/conf/tools.yaml CHANGED
@@ -1,23 +1,22 @@
1
1
  # Penguin's eggs
2
- # eggs.yaml
2
+ # tools.yaml
3
3
  ---
4
4
  penguins_eggs_conf: /etc/penguins-eggs.d/eggs.yaml
5
5
 
6
6
  # you can adapt this configuration to your needs
7
7
  remoteHost: 192.168.1.2
8
8
 
9
- # user to be used in remote host
10
- remoteUser: root
11
-
12
- # path in remote host
13
- remotePathDeb: /home/artisan/sourceforge/packages-deb/
14
- remotePathDoc: /home/artisan/sourceforge/DOCS/
15
- remotePathIso: /home/artisan/sourceforge/iso/
9
+ # path to remote host
10
+ remotePathDeb: /eggs/
11
+ remotePathDoc: /not-used-more/
12
+ remotePathIso: /var/lib/vz/template/iso/
16
13
 
14
+ # always root
15
+ remoteUser: root
17
16
 
18
- # local directories - only for developers
19
- localPathDeb: ~/penguins-eggs/perrisbrewery/workdir/
20
- localPathDoc: ~/penguins-eggs/docs
17
+ # path to local host
18
+ localPathDeb: /home/artisan/penguins-eggs/perrisbrewery/workdir/
19
+ localPathDoc: /not-used-more/
21
20
  localPathIso: /home/eggs
22
21
 
23
22
  # filter package files
@@ -12,36 +12,41 @@ class ExportDeb extends core_1.Command {
12
12
  const Tu = new tools_1.default();
13
13
  utils_1.default.warning(ExportDeb.description);
14
14
  await Tu.loadSettings();
15
- // rimozione
16
- if (flags.clean) {
17
- console.log('cleaning remote host');
18
- let arch = utils_1.default.eggsArch();
19
- if (flags.all) {
20
- arch = '*';
21
- }
22
- arch += '.deb';
23
- const cmd = 'ssh ' + Tu.config.remoteUser + '@' + Tu.config.remoteHost + ' rm -rf ' + Tu.config.remotePathDeb + Tu.config.filterDeb + arch;
24
- await (0, utils_2.exec)(cmd, { echo: true, capture: true });
25
- }
26
- // esportazione
27
- console.log('copy to remote host...');
15
+ const echo = utils_1.default.setEcho(flags.verbose);
16
+ let script = '';
28
17
  let arch = utils_1.default.eggsArch();
29
18
  if (flags.all) {
30
19
  arch = '*';
31
20
  }
32
- arch += '.deb';
33
- const cmd = 'scp ' + Tu.config.localPathDeb + Tu.config.filterDeb + arch + ' root@' + Tu.config.remoteHost + ':' + Tu.config.remotePathDeb;
34
- await (0, utils_2.exec)(cmd, { echo: true, capture: true });
21
+ if (flags.clean) {
22
+ arch += '.deb';
23
+ script += ``;
24
+ }
25
+ const rmount = `/tmp/eggs-${(Math.random() + 1).toString(36).substring(7)}`;
26
+ let cmd = `rm -f ${rmount}\n`;
27
+ cmd += `mkdir ${rmount}\n`;
28
+ cmd += `sshfs ${Tu.config.remoteUser}@${Tu.config.remoteHost}:${Tu.config.remotePathDeb} ${rmount}\n`;
29
+ if (flags.clean) {
30
+ cmd += `rm -f ${rmount}/${Tu.config.filterDeb}${arch}\n`;
31
+ }
32
+ cmd += `cp ${Tu.config.localPathDeb}${Tu.config.filterDeb}${arch} ${rmount}\n`;
33
+ cmd += `sync\n`;
34
+ cmd += `umount ${rmount}\n`;
35
+ cmd += `rm -f ${rmount}\m`;
36
+ if (!flags.verbose) {
37
+ if (flags.clean) {
38
+ console.log(`remove: ${Tu.config.remoteUser}@${Tu.config.remoteHost}:${Tu.config.filterDeb}${arch}`);
39
+ }
40
+ console.log(`copy: ${Tu.config.localPathDeb}${Tu.config.filterDeb}${arch} to ${Tu.config.remoteUser}@${Tu.config.remoteHost}:${Tu.config.remotePathDeb}`);
41
+ }
42
+ await (0, utils_2.exec)(cmd, echo);
35
43
  }
36
44
  }
37
45
  exports.default = ExportDeb;
38
46
  ExportDeb.description = 'export deb/docs/iso to the destination host';
39
47
  ExportDeb.flags = {
40
48
  help: core_1.Flags.help({ char: 'h' }),
49
+ all: core_1.Flags.boolean({ char: 'a', description: 'export all archs' }),
41
50
  clean: core_1.Flags.boolean({ char: 'c', description: 'remove old .deb before to copy' }),
42
- amd64: core_1.Flags.boolean({ description: 'export amd64 arch' }),
43
- i386: core_1.Flags.boolean({ description: 'export i386 arch' }),
44
- armel: core_1.Flags.boolean({ description: 'export armel arch' }),
45
- arm64: core_1.Flags.boolean({ description: 'export arm64 arch' }),
46
- all: core_1.Flags.boolean({ char: 'a', description: 'export all archs' })
51
+ verbose: core_1.Flags.boolean({ char: 'v', description: 'verbose' })
47
52
  };
@@ -12,20 +12,32 @@ class ExportIso extends core_1.Command {
12
12
  async run() {
13
13
  const { flags } = await this.parse(ExportIso);
14
14
  utils_1.default.titles(this.id + ' ' + this.argv);
15
- const Tu = new tools_1.default();
16
15
  utils_1.default.warning(ExportIso.description);
16
+ const Tu = new tools_1.default();
17
17
  await Tu.loadSettings();
18
+ const echo = utils_1.default.setEcho(flags.verbose);
18
19
  if (flags.backup) {
19
20
  Tu.snapshot_name = Tu.snapshot_name.slice(0, 7) === 'egg-of-' ? 'egg-eb-' + Tu.snapshot_name.slice(7) : 'backup-' + Tu.snapshot_name;
20
21
  }
21
- let cmd = `ssh root@${Tu.config.remoteHost} rm -rf ${Tu.config.remotePathIso}${Tu.snapshot_name}*`;
22
+ const rmount = `/tmp/eggs-${(Math.random() + 1).toString(36).substring(7)}`;
23
+ let cmd = `rm -f ${rmount}\n`;
24
+ let filter = '*.iso';
25
+ cmd += `mkdir ${rmount}\n`;
26
+ cmd += `sshfs ${Tu.config.remoteUser}@${Tu.config.remoteHost}:${Tu.config.remotePathIso} ${rmount}\n`;
22
27
  if (flags.clean) {
23
- utils_1.default.warning('cleaning destination...');
24
- await (0, utils_2.exec)(cmd, { echo: true, capture: true });
28
+ cmd += `rm -f ${rmount}/${Tu.snapshot_name}*\n`;
29
+ }
30
+ cmd += `cp ${Tu.snapshot_dir}${Tu.snapshot_name}${filter} ${rmount}\n`;
31
+ cmd += `sync\n`;
32
+ cmd += `umount ${rmount}\n`;
33
+ cmd += `rm -f ${rmount}\m`;
34
+ if (!flags.verbose) {
35
+ if (flags.clean) {
36
+ console.log(`remove: ${Tu.config.remoteUser}@${Tu.config.remoteHost}:${Tu.config.remotePathIso}${Tu.snapshot_name}${filter}`);
37
+ }
38
+ console.log(`copy: ${Tu.config.localPathIso}/${Tu.snapshot_name}${filter} to ${Tu.config.remoteUser}@${Tu.config.remoteHost}:${Tu.config.remotePathIso}`);
25
39
  }
26
- utils_1.default.warning('copy to destination...');
27
- cmd = `scp ${Tu.snapshot_dir}${Tu.snapshot_name}* root@${Tu.config.remoteHost}:${Tu.config.remotePathIso}`;
28
- await (0, utils_2.exec)(cmd, { echo: true, capture: true });
40
+ await (0, utils_2.exec)(cmd, echo);
29
41
  }
30
42
  }
31
43
  exports.default = ExportIso;
@@ -33,5 +45,6 @@ ExportIso.description = 'export iso in the destination host';
33
45
  ExportIso.flags = {
34
46
  help: core_1.Flags.help({ char: 'h' }),
35
47
  backup: core_1.Flags.boolean({ char: 'b', description: 'export backup ISOs' }),
36
- clean: core_1.Flags.boolean({ char: 'c', description: 'delete old ISOs before to copy' })
48
+ clean: core_1.Flags.boolean({ char: 'c', description: 'delete old ISOs before to copy' }),
49
+ verbose: core_1.Flags.boolean({ char: 'v', description: 'verbose' })
37
50
  };
@@ -12,7 +12,9 @@ const agent = new node_https_1.default.Agent({
12
12
  *
13
13
  */
14
14
  class ToolsStat extends core_1.Command {
15
- //static aliases = ['stat']
15
+ /**
16
+ *
17
+ */
16
18
  async run() {
17
19
  const { args, flags } = await this.parse(ToolsStat);
18
20
  utils_1.default.titles(this.id + ' ' + this.argv);
@@ -34,19 +36,25 @@ class ToolsStat extends core_1.Command {
34
36
  start = year + '-01-01';
35
37
  }
36
38
  this.log('start: ' + start + ', end: ' + end + '\n');
37
- await this.show(start, end, 'packages-deb');
38
- await this.show(start, end, 'iso');
39
+ await this.show(start, end, 'DEBS');
40
+ console.log();
41
+ await this.show(start, end, 'ISOS');
39
42
  }
40
- async show(start, end, type = 'packages-deb') {
43
+ /**
44
+ *
45
+ * @param start
46
+ * @param end
47
+ * @param type
48
+ */
49
+ async show(start, end, type = 'DEBS') {
41
50
  let url = `https://sourceforge.net/projects/penguins-eggs/files/${type}/stats/json`;
42
51
  const request = '?start_date=' + start + '&end_date=' + end;
43
52
  url += request;
44
- console.log(type);
45
- // const axios = require('axios').default
46
53
  const res = await axios_1.default.get(url, { httpsAgent: agent });
47
- const data = res.data;
48
- console.log(data.countries);
49
- // console.log(yaml.dump(data))
54
+ console.log(type);
55
+ for (const country of res.data.countries) {
56
+ console.log('- ' + country[0] + ': ' + country[1]);
57
+ }
50
58
  }
51
59
  }
52
60
  exports.default = ToolsStat;
@@ -54,6 +54,7 @@ exports.depCommon = [
54
54
  'parted',
55
55
  "pxelinux",
56
56
  'rsync',
57
+ 'sshfs',
57
58
  'squashfs-tools',
58
59
  'syslinux-common',
59
60
  'coreutils',
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "penguins-eggs",
3
3
  "description": "Perri's Brewery edition: remaster your system and distribuite it",
4
- "version": "9.3.3",
4
+ "version": "9.3.4",
5
5
  "author": "Piero Proietti @pieroproietti",
6
6
  "bin": {
7
7
  "eggs": "bin/run"
8
8
  },
9
9
  "bugs": "https://github.com/pieroproietti/penguins-eggs/issues",
10
10
  "dependencies": {
11
- "@oclif/core": "^1",
12
- "@oclif/plugin-autocomplete": "1.3.2",
13
- "@oclif/plugin-help": "^5.1.12",
14
- "@oclif/plugin-not-found": "^2.3.1",
15
- "@oclif/plugin-version": "^1.1.1",
16
- "@oclif/plugin-warn-if-update-available": "^2.0.4",
17
- "@oclif/test": "^2.1.0",
18
- "axios": "^1.1.2",
11
+ "@oclif/core": "^1.19.1",
12
+ "@oclif/plugin-autocomplete": "1.3.3",
13
+ "@oclif/plugin-help": "^5.1.16",
14
+ "@oclif/plugin-not-found": "^2.3.6",
15
+ "@oclif/plugin-version": "^1.1.3",
16
+ "@oclif/plugin-warn-if-update-available": "^2.0.9",
17
+ "@oclif/test": "^2.2.4",
18
+ "axios": "^1.1.3",
19
19
  "chalk": "^4.1.2",
20
20
  "ink": "^3.2.0",
21
21
  "ink-big-text": "^1.2.0",
@@ -30,34 +30,33 @@
30
30
  "shelljs": "0.8.5",
31
31
  "tftp": "^0.1.2",
32
32
  "tslib": "^2.4.0",
33
- "typescript": "^4.7.4"
33
+ "typescript": "^4.8.4"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@tsconfig/recommended": "^1.0.1",
37
- "@types/chai": "^4.3.1",
37
+ "@types/chai": "^4.3.3",
38
38
  "@types/ini": "^1.3.31",
39
39
  "@types/ink-big-text": "^1.2.1",
40
40
  "@types/ink-gradient": "^2.0.1",
41
41
  "@types/inquirer": "^9.0.2",
42
42
  "@types/js-yaml": "^4.0.5",
43
43
  "@types/mocha": "^10.0.0",
44
- "@types/mustache": "^4.1.3",
44
+ "@types/mustache": "^4.2.1",
45
45
  "@types/netmask": "^1.0.30",
46
- "@types/node": "^18.6.3",
46
+ "@types/node": "^18.11.3",
47
47
  "@types/node-static": "^0.7.7",
48
- "@types/react": "^18.0.12",
48
+ "@types/react": "^18.0.21",
49
49
  "@types/shelljs": "^0.8.11",
50
- "@typescript-eslint/parser": "^5.27.1",
50
+ "@typescript-eslint/parser": "^5.40.1",
51
51
  "chai": "^4.3.6",
52
- "eslint": "^7",
52
+ "eslint": "^7.32.0",
53
53
  "eslint-config-oclif": "^4.0.0",
54
- "eslint-config-oclif-typescript": "^1.0.2",
55
- "globby": "^11",
56
- "mocha": "^10.0.0",
54
+ "eslint-config-oclif-typescript": "^1.0.3",
55
+ "globby": "^11.1.0",
56
+ "mocha": "^10.1.0",
57
57
  "nyc": "^15.1.0",
58
- "perrisbrewery": "^9.1.38",
59
- "ts-node": "^10.8.1",
60
- "typedoc": "^0.23.10"
58
+ "perrisbrewery": "^9.3.4",
59
+ "ts-node": "^10.9.1"
61
60
  },
62
61
  "peerDependencies": {
63
62
  "@typescript-eslint/parser": "^5.0.0",
package/scripts/_eggs CHANGED
@@ -14,7 +14,6 @@ _eggs () {
14
14
  "cuckoo:PXE start with proxy-dhcp"
15
15
  "dad:ask help from daddy - configuration helper"
16
16
  "export\:deb:export deb/docs/iso to the destination host"
17
- "export\:docs:remove and export docType documentation of the sources in the destination host"
18
17
  "export\:iso:export iso in the destination host"
19
18
  "install:command-line system installer - the egg became a penguin!"
20
19
  "kill:kill the eggs/free the nest"
@@ -24,6 +23,7 @@ _eggs () {
24
23
  "syncfrom:restore users and user data from a LUKS volumes"
25
24
  "syncto:saves users and user data in a LUKS volume inside the iso"
26
25
  "tools\:clean:clean system log, apt, etc"
26
+ "tools\:ppa:add/remove PPA repositories (Debian family)"
27
27
  "tools\:skel:update skel from home configuration"
28
28
  "tools\:stat:get statistics from sourceforge"
29
29
  "tools\:yolk:configure eggs to install without internet"
@@ -76,7 +76,7 @@ config)
76
76
 
77
77
  cuckoo)
78
78
  _command_flags=(
79
- "--from=-[Who is saying hello]:"
79
+ "--help[Show CLI help.]"
80
80
  )
81
81
  ;;
82
82
 
@@ -92,18 +92,9 @@ dad)
92
92
  export:deb)
93
93
  _command_flags=(
94
94
  "--help[Show CLI help.]"
95
- "--clean[remove old .deb before to copy]"
96
- "--amd64[export amd64 arch]"
97
- "--i386[export i386 arch]"
98
- "--armel[export armel arch]"
99
- "--arm64[export arm64 arch]"
100
95
  "--all[export all archs]"
101
- )
102
- ;;
103
-
104
- export:docs)
105
- _command_flags=(
106
- "--help[Show CLI help.]"
96
+ "--clean[remove old .deb before to copy]"
97
+ "--verbose[verbose]"
107
98
  )
108
99
  ;;
109
100
 
@@ -112,6 +103,7 @@ export:iso)
112
103
  "--help[Show CLI help.]"
113
104
  "--backup[export backup ISOs]"
114
105
  "--clean[delete old ISOs before to copy]"
106
+ "--verbose[verbose]"
115
107
  )
116
108
  ;;
117
109
 
@@ -196,6 +188,15 @@ tools:clean)
196
188
  )
197
189
  ;;
198
190
 
191
+ tools:ppa)
192
+ _command_flags=(
193
+ "--help[Show CLI help.]"
194
+ "--add[add penguins-eggs PPA repository]"
195
+ "--remove[remove penguins-eggs PPA repository]"
196
+ "--verbose[verbose]"
197
+ )
198
+ ;;
199
+
199
200
  tools:skel)
200
201
  _command_flags=(
201
202
  "--help[Show CLI help.]"
package/scripts/eggs.bash CHANGED
@@ -15,11 +15,10 @@ adapt --verbose --help
15
15
  analyze --help --verbose
16
16
  calamares --help --verbose --install --release --remove --theme
17
17
  config --nointeractive --clean --help --verbose
18
- cuckoo --from
18
+ cuckoo --help
19
19
  dad --help --clean --default --verbose
20
- export:deb --help --clean --amd64 --i386 --armel --arm64 --all
21
- export:docs --help
22
- export:iso --help --backup --clean
20
+ export:deb --help --all --clean --verbose
21
+ export:iso --help --backup --clean --verbose
23
22
  install --unattended --ip --random --domain --suspend --small --none --crypted --pve --help --verbose
24
23
  kill --help --verbose
25
24
  mom --help
@@ -28,6 +27,7 @@ status --verbose --help
28
27
  syncfrom --delete --file --rootdir --help --verbose
29
28
  syncto --delete --file --help --verbose
30
29
  tools:clean --help --verbose
30
+ tools:ppa --help --add --remove --verbose
31
31
  tools:skel --help --user --verbose
32
32
  tools:stat --help --month --year
33
33
  tools:yolk --help --verbose
@@ -186,7 +186,6 @@ function Export {
186
186
  answer=$(
187
187
  whiptail --title "EXPORT" --menu "Export your eggs or packages in remote host..." 22 75 14 \
188
188
  "deb" "export package eggs-v7-x-x-1.deb in the destination host" \
189
- "docs" "export docType source's documentation in the destination host" \
190
189
  "iso" "export iso image in the destination host" \
191
190
  "quit" "previous" 3>&2 2>&1 1>&3
192
191
  )
@@ -195,9 +194,6 @@ function Export {
195
194
  "deb")
196
195
  export_deb ;;
197
196
 
198
- "docs")
199
- export_docs ;;
200
-
201
197
  "iso")
202
198
  export_iso ;;
203
199
  esac
@@ -250,19 +246,15 @@ function produce {
250
246
  answer=$(
251
247
  whiptail --title "produce" --menu "Choose the prefered method of production..." 22 75 14 \
252
248
  "fast" "create an ISO fast compression" \
253
- "standard" "create an ISO standard compression" \
254
249
  "max" "create an ISO max compression" \
255
250
  "clone" "create a live clone with user's data" \
256
- "quit" "previous" 3>&2 2>&1 1>&3
251
+ "quit" "previous" 3>&2 2>&1 1>&3
257
252
  )
258
253
 
259
254
  case "$answer" in
260
255
  "fast")
261
256
  fast ;;
262
257
 
263
- "standard")
264
- standard ;;
265
-
266
258
  "max")
267
259
  max ;;
268
260
 
File without changes
Binary file
Binary file
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const core_1 = require("@oclif/core");
5
- const tools_1 = tslib_1.__importDefault(require("../../classes/tools"));
6
- const utils_1 = tslib_1.__importDefault(require("../../classes/utils"));
7
- const utils_2 = require("../../lib/utils");
8
- class ExportDocs extends core_1.Command {
9
- async run() {
10
- const { args, flags } = await this.parse(ExportDocs);
11
- const Tu = new tools_1.default();
12
- utils_1.default.titles(this.id + ' ' + this.argv);
13
- utils_1.default.warning(ExportDocs.description);
14
- await Tu.loadSettings();
15
- await (0, utils_2.exec)(`ssh ${Tu.config.remoteUser}@${Tu.config.remoteHost} rm -rf ${Tu.config.remotePathDoc}*`, { echo: true, capture: true });
16
- await (0, utils_2.exec)(`scp -r ${Tu.config.localPathDoc}/* ${Tu.config.remoteUser}@${Tu.config.remoteHost}:${Tu.config.remotePathDoc}`, { echo: true, capture: true });
17
- }
18
- }
19
- exports.default = ExportDocs;
20
- ExportDocs.description = 'remove and export docType documentation of the sources in the destination host';
21
- ExportDocs.flags = {
22
- help: core_1.Flags.help({ char: 'h' })
23
- };
@@ -1,3 +0,0 @@
1
- #!/bin/sh
2
- curl -SsL https://pieroproietti.github.io/penguins-eggs-ppa/debian/KEY.gpg | sudo apt-key add -
3
- sudo curl -s --compressed -o /etc/apt/sources.list.d/penguins-eggs-ppa.list "https://pieroproietti.github.io/penguins-eggs-ppa/debian/penguins-eggs-ppa.list"
@@ -1,6 +0,0 @@
1
- #!/bin/sh
2
- if getent passwd "$1" > /dev/null; then
3
- echo "user: $1 exists"
4
- else
5
- echo "user: $1 NOT exists"
6
- fi