penguins-eggs 9.1.10 → 9.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -411
- package/lib/commands/adapt.d.ts +0 -1
- package/lib/commands/adapt.js +1 -1
- package/lib/commands/analyze.js +4 -1
- package/lib/commands/config.d.ts +0 -1
- package/lib/commands/config.js +4 -1
- package/lib/commands/dad.js +3 -0
- package/lib/commands/install.d.ts +0 -1
- package/lib/commands/install.js +6 -3
- package/lib/commands/kill.js +4 -1
- package/lib/commands/produce.d.ts +0 -1
- package/lib/commands/produce.js +5 -2
- package/lib/commands/remove.js +3 -0
- package/lib/commands/syncfrom.d.ts +0 -1
- package/lib/commands/syncfrom.js +5 -2
- package/lib/commands/syncto.d.ts +0 -1
- package/lib/commands/syncto.js +5 -2
- package/lib/commands/tools/clean.d.ts +0 -1
- package/lib/commands/tools/clean.js +9 -4
- package/lib/commands/tools/locales.js +3 -0
- package/lib/commands/tools/skel.d.ts +0 -1
- package/lib/commands/tools/skel.js +4 -1
- package/lib/commands/tools/stat.d.ts +0 -1
- package/lib/commands/tools/stat.js +1 -1
- package/lib/commands/tools/yolk.js +3 -0
- package/lib/commands/update.js +5 -2
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
- package/scripts/_eggs +1 -8
- package/scripts/eggs.bash +0 -1
- package/lib/commands/bro.d.ts +0 -14
- package/lib/commands/bro.js +0 -31
package/README.md
CHANGED
|
@@ -141,7 +141,7 @@ $ npm install -g penguins-eggs
|
|
|
141
141
|
$ eggs COMMAND
|
|
142
142
|
running command...
|
|
143
143
|
$ eggs (--version|-v)
|
|
144
|
-
penguins-eggs/9.1.
|
|
144
|
+
penguins-eggs/9.1.11 linux-x64 node-v16.14.2
|
|
145
145
|
$ eggs --help [COMMAND]
|
|
146
146
|
USAGE
|
|
147
147
|
$ eggs COMMAND
|
|
@@ -152,33 +152,21 @@ USAGE
|
|
|
152
152
|
# Commands
|
|
153
153
|
<!-- commands -->
|
|
154
154
|
* [`eggs adapt`](#eggs-adapt)
|
|
155
|
-
* [`eggs adjust`](#eggs-adjust)
|
|
156
155
|
* [`eggs analyze`](#eggs-analyze)
|
|
157
156
|
* [`eggs autocomplete [SHELL]`](#eggs-autocomplete-shell)
|
|
158
|
-
* [`eggs backup`](#eggs-backup)
|
|
159
|
-
* [`eggs bro`](#eggs-bro)
|
|
160
157
|
* [`eggs calamares`](#eggs-calamares)
|
|
161
|
-
* [`eggs clean`](#eggs-clean)
|
|
162
158
|
* [`eggs config`](#eggs-config)
|
|
163
159
|
* [`eggs dad`](#eggs-dad)
|
|
164
160
|
* [`eggs export deb`](#eggs-export-deb)
|
|
165
161
|
* [`eggs export docs`](#eggs-export-docs)
|
|
166
162
|
* [`eggs export iso`](#eggs-export-iso)
|
|
167
|
-
* [`eggs hatch`](#eggs-hatch)
|
|
168
163
|
* [`eggs help [COMMAND]`](#eggs-help-command)
|
|
169
164
|
* [`eggs info`](#eggs-info)
|
|
170
165
|
* [`eggs install`](#eggs-install)
|
|
171
166
|
* [`eggs kill`](#eggs-kill)
|
|
172
|
-
* [`eggs krill`](#eggs-krill)
|
|
173
|
-
* [`eggs lay`](#eggs-lay)
|
|
174
167
|
* [`eggs mom`](#eggs-mom)
|
|
175
|
-
* [`eggs prerequisites`](#eggs-prerequisites)
|
|
176
168
|
* [`eggs produce`](#eggs-produce)
|
|
177
169
|
* [`eggs remove`](#eggs-remove)
|
|
178
|
-
* [`eggs restore`](#eggs-restore)
|
|
179
|
-
* [`eggs skel`](#eggs-skel)
|
|
180
|
-
* [`eggs spawn`](#eggs-spawn)
|
|
181
|
-
* [`eggs stat`](#eggs-stat)
|
|
182
170
|
* [`eggs syncfrom`](#eggs-syncfrom)
|
|
183
171
|
* [`eggs syncto`](#eggs-syncto)
|
|
184
172
|
* [`eggs tools clean`](#eggs-tools-clean)
|
|
@@ -208,35 +196,13 @@ FLAGS
|
|
|
208
196
|
|
|
209
197
|
DESCRIPTION
|
|
210
198
|
adapt monitor resolution for VM only
|
|
211
|
-
|
|
212
|
-
ALIASES
|
|
213
|
-
$ eggs adjust
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
_See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/adapt.ts)_
|
|
217
|
-
|
|
218
|
-
## `eggs adjust`
|
|
219
|
-
|
|
220
|
-
adapt monitor resolution for VM only
|
|
221
|
-
|
|
222
199
|
```
|
|
223
|
-
USAGE
|
|
224
|
-
$ eggs adjust [-v] [-h]
|
|
225
|
-
|
|
226
|
-
FLAGS
|
|
227
|
-
-h, --help Show CLI help.
|
|
228
|
-
-v, --verbose
|
|
229
|
-
|
|
230
|
-
DESCRIPTION
|
|
231
|
-
adapt monitor resolution for VM only
|
|
232
200
|
|
|
233
|
-
|
|
234
|
-
$ eggs adjust
|
|
235
|
-
```
|
|
201
|
+
_See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.11/src/commands/adapt.ts)_
|
|
236
202
|
|
|
237
203
|
## `eggs analyze`
|
|
238
204
|
|
|
239
|
-
analyze
|
|
205
|
+
analyze for syncto
|
|
240
206
|
|
|
241
207
|
```
|
|
242
208
|
USAGE
|
|
@@ -247,13 +213,13 @@ FLAGS
|
|
|
247
213
|
-v, --verbose verbose
|
|
248
214
|
|
|
249
215
|
DESCRIPTION
|
|
250
|
-
analyze
|
|
216
|
+
analyze for syncto
|
|
251
217
|
|
|
252
218
|
EXAMPLES
|
|
253
219
|
$ sudo eggs analyze
|
|
254
220
|
```
|
|
255
221
|
|
|
256
|
-
_See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
222
|
+
_See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.11/src/commands/analyze.ts)_
|
|
257
223
|
|
|
258
224
|
## `eggs autocomplete [SHELL]`
|
|
259
225
|
|
|
@@ -284,47 +250,6 @@ EXAMPLES
|
|
|
284
250
|
|
|
285
251
|
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.2.0/src/commands/autocomplete/index.ts)_
|
|
286
252
|
|
|
287
|
-
## `eggs backup`
|
|
288
|
-
|
|
289
|
-
Backup users, server and datas to luks-eggs-backup
|
|
290
|
-
|
|
291
|
-
```
|
|
292
|
-
USAGE
|
|
293
|
-
$ eggs backup [--delete <value>] [-f <value>] [-h] [-v]
|
|
294
|
-
|
|
295
|
-
FLAGS
|
|
296
|
-
-f, --file=<value> file LUKS volume encrypted
|
|
297
|
-
-h, --help Show CLI help.
|
|
298
|
-
-v, --verbose verbose
|
|
299
|
-
--delete=<value> rsync --delete delete extraneous files from dest dirs
|
|
300
|
-
|
|
301
|
-
DESCRIPTION
|
|
302
|
-
Backup users, server and datas to luks-eggs-backup
|
|
303
|
-
|
|
304
|
-
ALIASES
|
|
305
|
-
$ eggs backup
|
|
306
|
-
|
|
307
|
-
EXAMPLES
|
|
308
|
-
$ sudo eggs syncto
|
|
309
|
-
```
|
|
310
|
-
|
|
311
|
-
## `eggs bro`
|
|
312
|
-
|
|
313
|
-
bro: waydroid helper
|
|
314
|
-
|
|
315
|
-
```
|
|
316
|
-
USAGE
|
|
317
|
-
$ eggs bro [-h]
|
|
318
|
-
|
|
319
|
-
FLAGS
|
|
320
|
-
-h, --help Show CLI help.
|
|
321
|
-
|
|
322
|
-
DESCRIPTION
|
|
323
|
-
bro: waydroid helper
|
|
324
|
-
```
|
|
325
|
-
|
|
326
|
-
_See code: [src/commands/bro.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/bro.ts)_
|
|
327
|
-
|
|
328
253
|
## `eggs calamares`
|
|
329
254
|
|
|
330
255
|
calamares or install or configure it
|
|
@@ -352,26 +277,7 @@ EXAMPLES
|
|
|
352
277
|
install calamares and create it's configuration's files
|
|
353
278
|
```
|
|
354
279
|
|
|
355
|
-
_See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
356
|
-
|
|
357
|
-
## `eggs clean`
|
|
358
|
-
|
|
359
|
-
clean system log, apt, etc
|
|
360
|
-
|
|
361
|
-
```
|
|
362
|
-
USAGE
|
|
363
|
-
$ eggs clean [-h] [-v]
|
|
364
|
-
|
|
365
|
-
FLAGS
|
|
366
|
-
-h, --help Show CLI help.
|
|
367
|
-
-v, --verbose verbose
|
|
368
|
-
|
|
369
|
-
DESCRIPTION
|
|
370
|
-
clean system log, apt, etc
|
|
371
|
-
|
|
372
|
-
ALIASES
|
|
373
|
-
$ eggs clean
|
|
374
|
-
```
|
|
280
|
+
_See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.11/src/commands/calamares.ts)_
|
|
375
281
|
|
|
376
282
|
## `eggs config`
|
|
377
283
|
|
|
@@ -390,15 +296,12 @@ FLAGS
|
|
|
390
296
|
DESCRIPTION
|
|
391
297
|
Configure and install prerequisites deb packages to run it
|
|
392
298
|
|
|
393
|
-
ALIASES
|
|
394
|
-
$ eggs prerequisites
|
|
395
|
-
|
|
396
299
|
EXAMPLES
|
|
397
300
|
~$ sudo eggs config
|
|
398
301
|
Configure and install prerequisites deb packages to run it
|
|
399
302
|
```
|
|
400
303
|
|
|
401
|
-
_See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
304
|
+
_See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.11/src/commands/config.ts)_
|
|
402
305
|
|
|
403
306
|
## `eggs dad`
|
|
404
307
|
|
|
@@ -418,7 +321,7 @@ DESCRIPTION
|
|
|
418
321
|
ask help from daddy - configuration helper
|
|
419
322
|
```
|
|
420
323
|
|
|
421
|
-
_See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
324
|
+
_See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.11/src/commands/dad.ts)_
|
|
422
325
|
|
|
423
326
|
## `eggs export deb`
|
|
424
327
|
|
|
@@ -473,33 +376,6 @@ DESCRIPTION
|
|
|
473
376
|
export iso in the destination host
|
|
474
377
|
```
|
|
475
378
|
|
|
476
|
-
## `eggs hatch`
|
|
477
|
-
|
|
478
|
-
command-line system installer - the egg became a penguin!
|
|
479
|
-
|
|
480
|
-
```
|
|
481
|
-
USAGE
|
|
482
|
-
$ eggs hatch [-c] [-k] [-p] [-h] [-v]
|
|
483
|
-
|
|
484
|
-
FLAGS
|
|
485
|
-
-c, --cli force use CLI installer
|
|
486
|
-
-h, --help Show CLI help.
|
|
487
|
-
-k, --crypted crypted CLI installation
|
|
488
|
-
-p, --pve Proxmox VE install
|
|
489
|
-
-v, --verbose verbose
|
|
490
|
-
|
|
491
|
-
DESCRIPTION
|
|
492
|
-
command-line system installer - the egg became a penguin!
|
|
493
|
-
|
|
494
|
-
ALIASES
|
|
495
|
-
$ eggs hatch
|
|
496
|
-
$ eggs krill
|
|
497
|
-
|
|
498
|
-
EXAMPLES
|
|
499
|
-
$ eggs install
|
|
500
|
-
Install the system using GUI or CLI installer
|
|
501
|
-
```
|
|
502
|
-
|
|
503
379
|
## `eggs help [COMMAND]`
|
|
504
380
|
|
|
505
381
|
Display help for eggs.
|
|
@@ -536,7 +412,7 @@ DESCRIPTION
|
|
|
536
412
|
informations about eggs configuration
|
|
537
413
|
```
|
|
538
414
|
|
|
539
|
-
_See code: [src/commands/info.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
415
|
+
_See code: [src/commands/info.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.11/src/commands/info.ts)_
|
|
540
416
|
|
|
541
417
|
## `eggs install`
|
|
542
418
|
|
|
@@ -556,16 +432,12 @@ FLAGS
|
|
|
556
432
|
DESCRIPTION
|
|
557
433
|
command-line system installer - the egg became a penguin!
|
|
558
434
|
|
|
559
|
-
ALIASES
|
|
560
|
-
$ eggs hatch
|
|
561
|
-
$ eggs krill
|
|
562
|
-
|
|
563
435
|
EXAMPLES
|
|
564
436
|
$ eggs install
|
|
565
437
|
Install the system using GUI or CLI installer
|
|
566
438
|
```
|
|
567
439
|
|
|
568
|
-
_See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
440
|
+
_See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.11/src/commands/install.ts)_
|
|
569
441
|
|
|
570
442
|
## `eggs kill`
|
|
571
443
|
|
|
@@ -587,97 +459,7 @@ EXAMPLES
|
|
|
587
459
|
kill the eggs/free the nest
|
|
588
460
|
```
|
|
589
461
|
|
|
590
|
-
_See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
591
|
-
|
|
592
|
-
## `eggs krill`
|
|
593
|
-
|
|
594
|
-
command-line system installer - the egg became a penguin!
|
|
595
|
-
|
|
596
|
-
```
|
|
597
|
-
USAGE
|
|
598
|
-
$ eggs krill [-c] [-k] [-p] [-h] [-v]
|
|
599
|
-
|
|
600
|
-
FLAGS
|
|
601
|
-
-c, --cli force use CLI installer
|
|
602
|
-
-h, --help Show CLI help.
|
|
603
|
-
-k, --crypted crypted CLI installation
|
|
604
|
-
-p, --pve Proxmox VE install
|
|
605
|
-
-v, --verbose verbose
|
|
606
|
-
|
|
607
|
-
DESCRIPTION
|
|
608
|
-
command-line system installer - the egg became a penguin!
|
|
609
|
-
|
|
610
|
-
ALIASES
|
|
611
|
-
$ eggs hatch
|
|
612
|
-
$ eggs krill
|
|
613
|
-
|
|
614
|
-
EXAMPLES
|
|
615
|
-
$ eggs install
|
|
616
|
-
Install the system using GUI or CLI installer
|
|
617
|
-
```
|
|
618
|
-
|
|
619
|
-
## `eggs lay`
|
|
620
|
-
|
|
621
|
-
produce a live image from your system whithout your data
|
|
622
|
-
|
|
623
|
-
```
|
|
624
|
-
USAGE
|
|
625
|
-
$ eggs lay [-p <value>] [--basename <value>] [-b] [-f] [-n] [-m] [-v] [-y] [-s] [-h] [--theme <value>]
|
|
626
|
-
[--addons <value>] [--release]
|
|
627
|
-
|
|
628
|
-
FLAGS
|
|
629
|
-
-b, --backup backup mode
|
|
630
|
-
-f, --fast fast compression
|
|
631
|
-
-h, --help Show CLI help.
|
|
632
|
-
-m, --max max compression
|
|
633
|
-
-n, --normal normal compression
|
|
634
|
-
-p, --prefix=<value> prefix
|
|
635
|
-
-s, --script script mode. Generate scripts to manage iso build
|
|
636
|
-
-v, --verbose verbose
|
|
637
|
-
-y, --yolk -y force yolk renew
|
|
638
|
-
--addons=<value>... addons to be used: adapt, ichoice, pve, rsupport
|
|
639
|
-
--basename=<value> basename
|
|
640
|
-
--release release: configure GUI installer to remove eggs and calamares after installation
|
|
641
|
-
--theme=<value> theme for livecd, calamares branding and partitions
|
|
642
|
-
|
|
643
|
-
DESCRIPTION
|
|
644
|
-
produce a live image from your system whithout your data
|
|
645
|
-
|
|
646
|
-
ALIASES
|
|
647
|
-
$ eggs spawn
|
|
648
|
-
$ eggs lay
|
|
649
|
-
|
|
650
|
-
EXAMPLES
|
|
651
|
-
$ sudo eggs produce
|
|
652
|
-
produce an ISO called [hostname]-[arch]-YYYY-MM-DD_HHMM.iso, compressed xz (standard compression).
|
|
653
|
-
If hostname=ugo and arch=i386 ugo-x86-2020-08-25_1215.iso
|
|
654
|
-
|
|
655
|
-
$ sudo eggs produce -v
|
|
656
|
-
same as previuos, but with --verbose output
|
|
657
|
-
|
|
658
|
-
$ sudo eggs produce -vf
|
|
659
|
-
same as previuos, compression zstd, lz4 or gzip (depend from system capability)
|
|
660
|
-
|
|
661
|
-
$ sudo eggs produce -vm
|
|
662
|
-
same as previuos, compression xz -Xbcj x86 (max compression, about 10%
|
|
663
|
-
more compressed)
|
|
664
|
-
|
|
665
|
-
$ sudo eggs produce -vf --basename leo --theme debian --addons adapt
|
|
666
|
-
produce an ISO called leo-i386-2020-08-25_1215.iso compression fast,
|
|
667
|
-
using Debian theme and link to adapt
|
|
668
|
-
|
|
669
|
-
$ sudo eggs produce -v --basename leo --theme debian --addons rsupport
|
|
670
|
-
produce an ISO called leo-i386-2020-08-25_1215.iso compression xz,
|
|
671
|
-
using Debian theme and link to dwagent
|
|
672
|
-
|
|
673
|
-
$ sudo eggs produce -v --basename leo --rsupport
|
|
674
|
-
produce an ISO called leo-i386-2020-08-25_1215.iso compression xz, using eggs
|
|
675
|
-
theme and link to dwagent
|
|
676
|
-
|
|
677
|
-
$ sudo eggs produce -vs --basename leo --rsupport
|
|
678
|
-
produce scripts to build an ISO as the previus example. Scripts can be found
|
|
679
|
-
in /home/eggs/ovarium and you can customize all you need
|
|
680
|
-
```
|
|
462
|
+
_See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.11/src/commands/kill.ts)_
|
|
681
463
|
|
|
682
464
|
## `eggs mom`
|
|
683
465
|
|
|
@@ -694,32 +476,7 @@ DESCRIPTION
|
|
|
694
476
|
ask for mommy - gui helper
|
|
695
477
|
```
|
|
696
478
|
|
|
697
|
-
_See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
698
|
-
|
|
699
|
-
## `eggs prerequisites`
|
|
700
|
-
|
|
701
|
-
Configure and install prerequisites deb packages to run it
|
|
702
|
-
|
|
703
|
-
```
|
|
704
|
-
USAGE
|
|
705
|
-
$ eggs prerequisites [-n] [-c] [-h] [-v]
|
|
706
|
-
|
|
707
|
-
FLAGS
|
|
708
|
-
-c, --clean remove old configuration before to create new one
|
|
709
|
-
-h, --help Show CLI help.
|
|
710
|
-
-n, --nointeractive assume yes
|
|
711
|
-
-v, --verbose verbose
|
|
712
|
-
|
|
713
|
-
DESCRIPTION
|
|
714
|
-
Configure and install prerequisites deb packages to run it
|
|
715
|
-
|
|
716
|
-
ALIASES
|
|
717
|
-
$ eggs prerequisites
|
|
718
|
-
|
|
719
|
-
EXAMPLES
|
|
720
|
-
~$ sudo eggs config
|
|
721
|
-
Configure and install prerequisites deb packages to run it
|
|
722
|
-
```
|
|
479
|
+
_See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.11/src/commands/mom.ts)_
|
|
723
480
|
|
|
724
481
|
## `eggs produce`
|
|
725
482
|
|
|
@@ -748,10 +505,6 @@ FLAGS
|
|
|
748
505
|
DESCRIPTION
|
|
749
506
|
produce a live image from your system whithout your data
|
|
750
507
|
|
|
751
|
-
ALIASES
|
|
752
|
-
$ eggs spawn
|
|
753
|
-
$ eggs lay
|
|
754
|
-
|
|
755
508
|
EXAMPLES
|
|
756
509
|
$ sudo eggs produce
|
|
757
510
|
produce an ISO called [hostname]-[arch]-YYYY-MM-DD_HHMM.iso, compressed xz (standard compression).
|
|
@@ -784,7 +537,7 @@ EXAMPLES
|
|
|
784
537
|
in /home/eggs/ovarium and you can customize all you need
|
|
785
538
|
```
|
|
786
539
|
|
|
787
|
-
_See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
540
|
+
_See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.11/src/commands/produce.ts)_
|
|
788
541
|
|
|
789
542
|
## `eggs remove`
|
|
790
543
|
|
|
@@ -814,139 +567,7 @@ EXAMPLES
|
|
|
814
567
|
remove eggs, eggs configurations, packages dependencies
|
|
815
568
|
```
|
|
816
569
|
|
|
817
|
-
_See code: [src/commands/remove.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
818
|
-
|
|
819
|
-
## `eggs restore`
|
|
820
|
-
|
|
821
|
-
Restore users, server and datas from luks-eggs-backup
|
|
822
|
-
|
|
823
|
-
```
|
|
824
|
-
USAGE
|
|
825
|
-
$ eggs restore [--delete <value>] [-f <value>] [-r <value>] [-h] [-v]
|
|
826
|
-
|
|
827
|
-
FLAGS
|
|
828
|
-
-f, --file=<value> file LUKS volume encrypted
|
|
829
|
-
-h, --help Show CLI help.
|
|
830
|
-
-r, --rootdir=<value> rootdir of the installed system, when used from live
|
|
831
|
-
-v, --verbose verbose
|
|
832
|
-
--delete=<value> rsync --delete delete extraneous files from dest dirs
|
|
833
|
-
|
|
834
|
-
DESCRIPTION
|
|
835
|
-
Restore users, server and datas from luks-eggs-backup
|
|
836
|
-
|
|
837
|
-
ALIASES
|
|
838
|
-
$ eggs restore
|
|
839
|
-
|
|
840
|
-
EXAMPLES
|
|
841
|
-
$ sudo eggs restore
|
|
842
|
-
```
|
|
843
|
-
|
|
844
|
-
## `eggs skel`
|
|
845
|
-
|
|
846
|
-
update skel from home configuration
|
|
847
|
-
|
|
848
|
-
```
|
|
849
|
-
USAGE
|
|
850
|
-
$ eggs skel [-h] [-u <value>] [-v]
|
|
851
|
-
|
|
852
|
-
FLAGS
|
|
853
|
-
-h, --help Show CLI help.
|
|
854
|
-
-u, --user=<value> user to be used
|
|
855
|
-
-v, --verbose
|
|
856
|
-
|
|
857
|
-
DESCRIPTION
|
|
858
|
-
update skel from home configuration
|
|
859
|
-
|
|
860
|
-
ALIASES
|
|
861
|
-
$ eggs skel
|
|
862
|
-
|
|
863
|
-
EXAMPLES
|
|
864
|
-
$ eggs skel --user mauro
|
|
865
|
-
desktop configuration of user mauro will get used as default
|
|
866
|
-
```
|
|
867
|
-
|
|
868
|
-
## `eggs spawn`
|
|
869
|
-
|
|
870
|
-
produce a live image from your system whithout your data
|
|
871
|
-
|
|
872
|
-
```
|
|
873
|
-
USAGE
|
|
874
|
-
$ eggs spawn [-p <value>] [--basename <value>] [-b] [-f] [-n] [-m] [-v] [-y] [-s] [-h] [--theme <value>]
|
|
875
|
-
[--addons <value>] [--release]
|
|
876
|
-
|
|
877
|
-
FLAGS
|
|
878
|
-
-b, --backup backup mode
|
|
879
|
-
-f, --fast fast compression
|
|
880
|
-
-h, --help Show CLI help.
|
|
881
|
-
-m, --max max compression
|
|
882
|
-
-n, --normal normal compression
|
|
883
|
-
-p, --prefix=<value> prefix
|
|
884
|
-
-s, --script script mode. Generate scripts to manage iso build
|
|
885
|
-
-v, --verbose verbose
|
|
886
|
-
-y, --yolk -y force yolk renew
|
|
887
|
-
--addons=<value>... addons to be used: adapt, ichoice, pve, rsupport
|
|
888
|
-
--basename=<value> basename
|
|
889
|
-
--release release: configure GUI installer to remove eggs and calamares after installation
|
|
890
|
-
--theme=<value> theme for livecd, calamares branding and partitions
|
|
891
|
-
|
|
892
|
-
DESCRIPTION
|
|
893
|
-
produce a live image from your system whithout your data
|
|
894
|
-
|
|
895
|
-
ALIASES
|
|
896
|
-
$ eggs spawn
|
|
897
|
-
$ eggs lay
|
|
898
|
-
|
|
899
|
-
EXAMPLES
|
|
900
|
-
$ sudo eggs produce
|
|
901
|
-
produce an ISO called [hostname]-[arch]-YYYY-MM-DD_HHMM.iso, compressed xz (standard compression).
|
|
902
|
-
If hostname=ugo and arch=i386 ugo-x86-2020-08-25_1215.iso
|
|
903
|
-
|
|
904
|
-
$ sudo eggs produce -v
|
|
905
|
-
same as previuos, but with --verbose output
|
|
906
|
-
|
|
907
|
-
$ sudo eggs produce -vf
|
|
908
|
-
same as previuos, compression zstd, lz4 or gzip (depend from system capability)
|
|
909
|
-
|
|
910
|
-
$ sudo eggs produce -vm
|
|
911
|
-
same as previuos, compression xz -Xbcj x86 (max compression, about 10%
|
|
912
|
-
more compressed)
|
|
913
|
-
|
|
914
|
-
$ sudo eggs produce -vf --basename leo --theme debian --addons adapt
|
|
915
|
-
produce an ISO called leo-i386-2020-08-25_1215.iso compression fast,
|
|
916
|
-
using Debian theme and link to adapt
|
|
917
|
-
|
|
918
|
-
$ sudo eggs produce -v --basename leo --theme debian --addons rsupport
|
|
919
|
-
produce an ISO called leo-i386-2020-08-25_1215.iso compression xz,
|
|
920
|
-
using Debian theme and link to dwagent
|
|
921
|
-
|
|
922
|
-
$ sudo eggs produce -v --basename leo --rsupport
|
|
923
|
-
produce an ISO called leo-i386-2020-08-25_1215.iso compression xz, using eggs
|
|
924
|
-
theme and link to dwagent
|
|
925
|
-
|
|
926
|
-
$ sudo eggs produce -vs --basename leo --rsupport
|
|
927
|
-
produce scripts to build an ISO as the previus example. Scripts can be found
|
|
928
|
-
in /home/eggs/ovarium and you can customize all you need
|
|
929
|
-
```
|
|
930
|
-
|
|
931
|
-
## `eggs stat`
|
|
932
|
-
|
|
933
|
-
get statistics from sourceforge
|
|
934
|
-
|
|
935
|
-
```
|
|
936
|
-
USAGE
|
|
937
|
-
$ eggs stat [-h] [-m] [-y]
|
|
938
|
-
|
|
939
|
-
FLAGS
|
|
940
|
-
-h, --help Show CLI help.
|
|
941
|
-
-m, --month current month
|
|
942
|
-
-y, --year current year
|
|
943
|
-
|
|
944
|
-
DESCRIPTION
|
|
945
|
-
get statistics from sourceforge
|
|
946
|
-
|
|
947
|
-
ALIASES
|
|
948
|
-
$ eggs stat
|
|
949
|
-
```
|
|
570
|
+
_See code: [src/commands/remove.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.11/src/commands/remove.ts)_
|
|
950
571
|
|
|
951
572
|
## `eggs syncfrom`
|
|
952
573
|
|
|
@@ -966,14 +587,11 @@ FLAGS
|
|
|
966
587
|
DESCRIPTION
|
|
967
588
|
Restore users, server and datas from luks-eggs-backup
|
|
968
589
|
|
|
969
|
-
ALIASES
|
|
970
|
-
$ eggs restore
|
|
971
|
-
|
|
972
590
|
EXAMPLES
|
|
973
591
|
$ sudo eggs restore
|
|
974
592
|
```
|
|
975
593
|
|
|
976
|
-
_See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
594
|
+
_See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.11/src/commands/syncfrom.ts)_
|
|
977
595
|
|
|
978
596
|
## `eggs syncto`
|
|
979
597
|
|
|
@@ -992,14 +610,11 @@ FLAGS
|
|
|
992
610
|
DESCRIPTION
|
|
993
611
|
Backup users, server and datas to luks-eggs-backup
|
|
994
612
|
|
|
995
|
-
ALIASES
|
|
996
|
-
$ eggs backup
|
|
997
|
-
|
|
998
613
|
EXAMPLES
|
|
999
614
|
$ sudo eggs syncto
|
|
1000
615
|
```
|
|
1001
616
|
|
|
1002
|
-
_See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
617
|
+
_See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.11/src/commands/syncto.ts)_
|
|
1003
618
|
|
|
1004
619
|
## `eggs tools clean`
|
|
1005
620
|
|
|
@@ -1015,9 +630,6 @@ FLAGS
|
|
|
1015
630
|
|
|
1016
631
|
DESCRIPTION
|
|
1017
632
|
clean system log, apt, etc
|
|
1018
|
-
|
|
1019
|
-
ALIASES
|
|
1020
|
-
$ eggs clean
|
|
1021
633
|
```
|
|
1022
634
|
|
|
1023
635
|
## `eggs tools locales`
|
|
@@ -1053,9 +665,6 @@ FLAGS
|
|
|
1053
665
|
DESCRIPTION
|
|
1054
666
|
update skel from home configuration
|
|
1055
667
|
|
|
1056
|
-
ALIASES
|
|
1057
|
-
$ eggs skel
|
|
1058
|
-
|
|
1059
668
|
EXAMPLES
|
|
1060
669
|
$ eggs skel --user mauro
|
|
1061
670
|
desktop configuration of user mauro will get used as default
|
|
@@ -1076,9 +685,6 @@ FLAGS
|
|
|
1076
685
|
|
|
1077
686
|
DESCRIPTION
|
|
1078
687
|
get statistics from sourceforge
|
|
1079
|
-
|
|
1080
|
-
ALIASES
|
|
1081
|
-
$ eggs stat
|
|
1082
688
|
```
|
|
1083
689
|
|
|
1084
690
|
## `eggs tools yolk`
|
|
@@ -1120,7 +726,7 @@ EXAMPLES
|
|
|
1120
726
|
update/upgrade the penguin's eggs tool
|
|
1121
727
|
```
|
|
1122
728
|
|
|
1123
|
-
_See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
729
|
+
_See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.11/src/commands/update.ts)_
|
|
1124
730
|
|
|
1125
731
|
## `eggs version`
|
|
1126
732
|
|
package/lib/commands/adapt.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command } from '@oclif/core';
|
|
2
2
|
export default class Adapt extends Command {
|
|
3
3
|
static description: string;
|
|
4
|
-
static aliases: string[];
|
|
5
4
|
static flags: {
|
|
6
5
|
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
7
6
|
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
package/lib/commands/adapt.js
CHANGED
|
@@ -23,7 +23,7 @@ class Adapt extends core_1.Command {
|
|
|
23
23
|
}
|
|
24
24
|
exports.default = Adapt;
|
|
25
25
|
Adapt.description = 'adapt monitor resolution for VM only';
|
|
26
|
-
|
|
26
|
+
// static aliases = ['adjust']
|
|
27
27
|
Adapt.flags = {
|
|
28
28
|
verbose: core_1.Flags.boolean({ char: 'v' }),
|
|
29
29
|
help: core_1.Flags.help({ char: 'h' })
|
package/lib/commands/analyze.js
CHANGED
|
@@ -40,6 +40,9 @@ class Analyze extends core_1.Command {
|
|
|
40
40
|
}
|
|
41
41
|
console.log(`Total\t\t\t\t\tSize: ${utils_1.default.formatBytes(totalSize)} \tBytes: ${totalSize}`);
|
|
42
42
|
}
|
|
43
|
+
else {
|
|
44
|
+
utils_1.default.useRoot(this.id);
|
|
45
|
+
}
|
|
43
46
|
}
|
|
44
47
|
/**
|
|
45
48
|
* fill
|
|
@@ -66,7 +69,7 @@ class Analyze extends core_1.Command {
|
|
|
66
69
|
}
|
|
67
70
|
}
|
|
68
71
|
exports.default = Analyze;
|
|
69
|
-
Analyze.description = 'analyze
|
|
72
|
+
Analyze.description = 'analyze for syncto';
|
|
70
73
|
Analyze.flags = {
|
|
71
74
|
help: core_1.Flags.help({ char: 'h' }),
|
|
72
75
|
verbose: core_1.Flags.boolean({ char: 'v', description: 'verbose' })
|
package/lib/commands/config.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ import { IInstall } from '../interfaces';
|
|
|
11
11
|
*/
|
|
12
12
|
export default class Config extends Command {
|
|
13
13
|
static description: string;
|
|
14
|
-
static aliases: string[];
|
|
15
14
|
static flags: {
|
|
16
15
|
nointeractive: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
17
16
|
clean: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
package/lib/commands/config.js
CHANGED
|
@@ -58,6 +58,9 @@ class Config extends core_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
+
else {
|
|
62
|
+
utils_1.default.useRoot(this.id);
|
|
63
|
+
}
|
|
61
64
|
}
|
|
62
65
|
/**
|
|
63
66
|
*
|
|
@@ -202,7 +205,7 @@ class Config extends core_1.Command {
|
|
|
202
205
|
}
|
|
203
206
|
exports.default = Config;
|
|
204
207
|
Config.description = 'Configure and install prerequisites deb packages to run it';
|
|
205
|
-
|
|
208
|
+
// static aliases = ['prerequisites']
|
|
206
209
|
Config.flags = {
|
|
207
210
|
nointeractive: core_1.Flags.boolean({ char: 'n', description: 'assume yes' }),
|
|
208
211
|
clean: core_1.Flags.boolean({ char: 'c', description: 'remove old configuration before to create new one' }),
|
package/lib/commands/dad.js
CHANGED
package/lib/commands/install.js
CHANGED
|
@@ -41,7 +41,7 @@ class Install extends core_1.Command {
|
|
|
41
41
|
if (flags.verbose) {
|
|
42
42
|
verbose = true;
|
|
43
43
|
}
|
|
44
|
-
if (utils_1.default.isRoot(
|
|
44
|
+
if (utils_1.default.isRoot()) {
|
|
45
45
|
if (utils_1.default.isLive()) {
|
|
46
46
|
if (pacman_1.default.packageIsInstalled('calamares') && pacman_1.default.isRunningGui() && !cli) {
|
|
47
47
|
shelljs_1.default.exec('/usb/sbin/install-debian');
|
|
@@ -55,9 +55,12 @@ class Install extends core_1.Command {
|
|
|
55
55
|
await krill.prepare(crypted, pve, verbose);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
+
else {
|
|
59
|
+
utils_1.default.warning('You are in an installed system!');
|
|
60
|
+
}
|
|
58
61
|
}
|
|
59
62
|
else {
|
|
60
|
-
utils_1.default.
|
|
63
|
+
utils_1.default.useRoot(this.id);
|
|
61
64
|
}
|
|
62
65
|
}
|
|
63
66
|
}
|
|
@@ -70,5 +73,5 @@ Install.flags = {
|
|
|
70
73
|
verbose: core_1.Flags.boolean({ char: 'v', description: 'verbose' })
|
|
71
74
|
};
|
|
72
75
|
Install.description = 'command-line system installer - the egg became a penguin!';
|
|
73
|
-
|
|
76
|
+
// static aliases = ['krill']
|
|
74
77
|
Install.examples = ['$ eggs install\nInstall the system using GUI or CLI installer\n'];
|
package/lib/commands/kill.js
CHANGED
|
@@ -26,7 +26,7 @@ class Kill extends core_1.Command {
|
|
|
26
26
|
verbose = true;
|
|
27
27
|
}
|
|
28
28
|
const echo = utils_1.default.setEcho(verbose);
|
|
29
|
-
if (utils_1.default.isRoot(
|
|
29
|
+
if (utils_1.default.isRoot()) {
|
|
30
30
|
// Utils.warning('Cleaning the nest...')
|
|
31
31
|
const settings = new settings_1.default();
|
|
32
32
|
await settings.load();
|
|
@@ -36,6 +36,9 @@ class Kill extends core_1.Command {
|
|
|
36
36
|
await (0, utils_2.exec)(`rm ${settings.config.snapshot_dir} -rf`, echo);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
+
else {
|
|
40
|
+
utils_1.default.useRoot(this.id);
|
|
41
|
+
}
|
|
39
42
|
}
|
|
40
43
|
}
|
|
41
44
|
exports.default = Kill;
|
package/lib/commands/produce.js
CHANGED
|
@@ -23,7 +23,7 @@ class Produce extends core_1.Command {
|
|
|
23
23
|
async run() {
|
|
24
24
|
utils_1.default.titles(this.id + ' ' + this.argv);
|
|
25
25
|
const { flags } = await this.parse(Produce);
|
|
26
|
-
if (utils_1.default.isRoot(
|
|
26
|
+
if (utils_1.default.isRoot()) {
|
|
27
27
|
/**
|
|
28
28
|
* ADDONS dei vendors
|
|
29
29
|
* Fino a 3
|
|
@@ -132,6 +132,9 @@ class Produce extends core_1.Command {
|
|
|
132
132
|
ovary.finished(scriptOnly);
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
+
else {
|
|
136
|
+
utils_1.default.useRoot(this.id);
|
|
137
|
+
}
|
|
135
138
|
}
|
|
136
139
|
}
|
|
137
140
|
exports.default = Produce;
|
|
@@ -151,7 +154,7 @@ Produce.flags = {
|
|
|
151
154
|
release: core_1.Flags.boolean({ description: 'release: configure GUI installer to remove eggs and calamares after installation' })
|
|
152
155
|
};
|
|
153
156
|
Produce.description = 'produce a live image from your system whithout your data';
|
|
154
|
-
|
|
157
|
+
// static aliases = ['spawn', 'lay']
|
|
155
158
|
Produce.examples = [
|
|
156
159
|
'$ 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',
|
|
157
160
|
'$ sudo eggs produce -v\nsame as previuos, but with --verbose output\n',
|
package/lib/commands/remove.js
CHANGED
|
@@ -24,7 +24,6 @@ export default class Syncfrom extends Command {
|
|
|
24
24
|
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
25
25
|
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
26
26
|
};
|
|
27
|
-
static aliases: string[];
|
|
28
27
|
static examples: string[];
|
|
29
28
|
run(): Promise<void>;
|
|
30
29
|
/**
|
package/lib/commands/syncfrom.js
CHANGED
|
@@ -48,7 +48,7 @@ class Syncfrom extends core_1.Command {
|
|
|
48
48
|
utils_1.default.pressKeyToExit(`Argument --rootdir is mandatory, when running live! Process will terminate`);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
if (utils_1.default.isRoot(
|
|
51
|
+
if (utils_1.default.isRoot()) {
|
|
52
52
|
if (fileVolume === '') {
|
|
53
53
|
fileVolume = '/run/live/medium/live/luks-eggs-backup';
|
|
54
54
|
}
|
|
@@ -81,6 +81,9 @@ class Syncfrom extends core_1.Command {
|
|
|
81
81
|
await this.restorePrivateData();
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
+
else {
|
|
85
|
+
utils_1.default.useRoot(this.id);
|
|
86
|
+
}
|
|
84
87
|
}
|
|
85
88
|
/**
|
|
86
89
|
*
|
|
@@ -159,5 +162,5 @@ Syncfrom.flags = {
|
|
|
159
162
|
help: core_1.Flags.help({ char: 'h' }),
|
|
160
163
|
verbose: core_1.Flags.boolean({ char: 'v', description: 'verbose' })
|
|
161
164
|
};
|
|
162
|
-
|
|
165
|
+
// static aliases = ['restore']
|
|
163
166
|
Syncfrom.examples = ['$ sudo eggs restore'];
|
package/lib/commands/syncto.d.ts
CHANGED
package/lib/commands/syncto.js
CHANGED
|
@@ -62,7 +62,7 @@ class Syncto extends core_1.Command {
|
|
|
62
62
|
if (flags.delete) {
|
|
63
63
|
destDelete = true;
|
|
64
64
|
}
|
|
65
|
-
if (utils_1.default.isRoot(
|
|
65
|
+
if (utils_1.default.isRoot()) {
|
|
66
66
|
/**
|
|
67
67
|
* restore con file
|
|
68
68
|
*/
|
|
@@ -85,6 +85,9 @@ class Syncto extends core_1.Command {
|
|
|
85
85
|
await this.luksClose();
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
+
else {
|
|
89
|
+
utils_1.default.useRoot(this.id);
|
|
90
|
+
}
|
|
88
91
|
}
|
|
89
92
|
/**
|
|
90
93
|
*
|
|
@@ -238,5 +241,5 @@ Syncto.flags = {
|
|
|
238
241
|
help: core_1.Flags.help({ char: 'h' }),
|
|
239
242
|
verbose: core_1.Flags.boolean({ char: 'v', description: 'verbose' })
|
|
240
243
|
};
|
|
241
|
-
|
|
244
|
+
// static aliases = ['backup']
|
|
242
245
|
Syncto.examples = ['$ sudo eggs syncto'];
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
import { Command } from '@oclif/core';
|
|
8
8
|
export default class Clean extends Command {
|
|
9
9
|
static description: string;
|
|
10
|
-
static aliases: string[];
|
|
11
10
|
static flags: {
|
|
12
11
|
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
13
12
|
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
@@ -18,15 +18,20 @@ class Clean extends core_1.Command {
|
|
|
18
18
|
if (flags.verbose) {
|
|
19
19
|
verbose = true;
|
|
20
20
|
}
|
|
21
|
-
if (utils_1.default.isRoot()
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
if (utils_1.default.isRoot()) {
|
|
22
|
+
if (await utils_1.default.customConfirm('Select yes to continue...')) {
|
|
23
|
+
const bleach = new bleach_1.default();
|
|
24
|
+
bleach.clean(verbose);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
utils_1.default.useRoot(this.id);
|
|
24
29
|
}
|
|
25
30
|
}
|
|
26
31
|
}
|
|
27
32
|
exports.default = Clean;
|
|
28
33
|
Clean.description = 'clean system log, apt, etc';
|
|
29
|
-
|
|
34
|
+
// static aliases = ['clean']
|
|
30
35
|
Clean.flags = {
|
|
31
36
|
help: core_1.Flags.help({ char: 'h' }),
|
|
32
37
|
verbose: core_1.Flags.boolean({ char: 'v', description: 'verbose' })
|
|
@@ -32,11 +32,14 @@ class Skel extends core_1.Command {
|
|
|
32
32
|
utils_1.default.titles('skel');
|
|
33
33
|
xdg_1.default.skel(user, verbose);
|
|
34
34
|
}
|
|
35
|
+
else {
|
|
36
|
+
utils_1.default.useRoot(this.id);
|
|
37
|
+
}
|
|
35
38
|
}
|
|
36
39
|
}
|
|
37
40
|
exports.default = Skel;
|
|
38
41
|
Skel.description = 'update skel from home configuration';
|
|
39
|
-
|
|
42
|
+
// static aliases = ['skel']
|
|
40
43
|
Skel.examples = [
|
|
41
44
|
`$ eggs skel --user mauro
|
|
42
45
|
desktop configuration of user mauro will get used as default`
|
|
@@ -9,7 +9,6 @@ export default class ToolsStat extends Command {
|
|
|
9
9
|
month: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
10
10
|
year: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
11
11
|
};
|
|
12
|
-
static aliases: string[];
|
|
13
12
|
run(): Promise<void>;
|
|
14
13
|
show(start: string, end: string, type?: string): Promise<void>;
|
|
15
14
|
}
|
|
@@ -12,6 +12,7 @@ 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
|
async run() {
|
|
16
17
|
const { args, flags } = await this.parse(ToolsStat);
|
|
17
18
|
utils_1.default.titles(this.id + ' ' + this.argv);
|
|
@@ -55,4 +56,3 @@ ToolsStat.flags = {
|
|
|
55
56
|
month: core_1.Flags.boolean({ char: 'm', description: 'current month' }),
|
|
56
57
|
year: core_1.Flags.boolean({ char: 'y', description: 'current year' })
|
|
57
58
|
};
|
|
58
|
-
ToolsStat.aliases = ['stat'];
|
package/lib/commands/update.js
CHANGED
|
@@ -20,8 +20,8 @@ class Update extends core_1.Command {
|
|
|
20
20
|
async run() {
|
|
21
21
|
utils_1.default.titles(this.id + ' ' + this.argv);
|
|
22
22
|
const { flags } = await this.parse(Update);
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
utils_1.default.titles(this.id + ' ' + this.argv);
|
|
24
|
+
if (utils_1.default.isRoot()) {
|
|
25
25
|
if (utils_1.default.isSources()) {
|
|
26
26
|
utils_1.default.warning(`You are on penguins-eggs v. ${utils_1.default.getPackageVersion()} from sources`);
|
|
27
27
|
}
|
|
@@ -30,6 +30,9 @@ class Update extends core_1.Command {
|
|
|
30
30
|
}
|
|
31
31
|
await this.chooseUpdate();
|
|
32
32
|
}
|
|
33
|
+
else {
|
|
34
|
+
utils_1.default.useRoot(this.id);
|
|
35
|
+
}
|
|
33
36
|
}
|
|
34
37
|
/**
|
|
35
38
|
* Altrimenti, seleziona il tipo di
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"9.1.10","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["adjust"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"analyze":{"id":"analyze","description":"analyze situation","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs analyze"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"bro":{"id":"bro","description":"bro: waydroid helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"calamares":{"id":"calamares","description":"calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["~$ sudo eggs calamares \ncreate/renew calamares configuration's files\n","~$ sudo eggs calamares -i \ninstall calamares and create it's configuration's files\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and it's dependencies","allowNo":false},"final":{"name":"final","type":"boolean","char":"f","description":"final: remove calamares and all it's dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove calamares and it's dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false}},"args":[],"_globalFlags":{}},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["prerequisites"],"examples":["~$ sudo eggs config\nConfigure and install prerequisites deb packages to run it"],"flags":{"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"assume yes","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create new one","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"dad":{"id":"dad","description":"ask help from daddy - configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create","allowNo":false},"default":{"name":"default","type":"boolean","char":"d","description":"remove old configuration and force default","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{}},"info":{"id":"info","description":"informations about eggs configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"install":{"id":"install","description":"command-line system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["hatch","krill"],"examples":["$ eggs install\nInstall the system using GUI or CLI installer\n"],"flags":{"cli":{"name":"cli","type":"boolean","char":"c","description":"force use CLI installer","allowNo":false},"crypted":{"name":"crypted","type":"boolean","char":"k","description":"crypted CLI installation","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs kill\nkill the eggs/free the nest"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"mom":{"id":"mom","description":"ask for mommy - gui helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"produce":{"id":"produce","description":"produce a live image from your system whithout your data","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["spawn","lay"],"examples":["$ sudo eggs produce \nproduce an ISO called [hostname]-[arch]-YYYY-MM-DD_HHMM.iso, compressed xz (standard compression).\nIf hostname=ugo and arch=i386 ugo-x86-2020-08-25_1215.iso\n","$ sudo eggs produce -v\nsame as previuos, but with --verbose output\n","$ sudo eggs produce -vf\nsame as previuos, compression zstd, lz4 or gzip (depend from system capability)\n","$ sudo eggs produce -vm\nsame as previuos, compression xz -Xbcj x86 (max compression, about 10%\nmore compressed)\n","$ sudo eggs produce -vf --basename leo --theme debian --addons adapt \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression fast,\nusing Debian theme and link to adapt\n","$ sudo eggs produce -v --basename leo --theme debian --addons rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz,\nusing Debian theme and link to dwagent\n","$ sudo eggs produce -v --basename leo --rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz, using eggs\ntheme and link to dwagent\n","$ sudo eggs produce -vs --basename leo --rsupport \nproduce scripts to build an ISO as the previus example. Scripts can be found\nin /home/eggs/ovarium and you can customize all you need\n"],"flags":{"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"backup mode","allowNo":false},"fast":{"name":"fast","type":"boolean","char":"f","description":"fast compression","allowNo":false},"normal":{"name":"normal","type":"boolean","char":"n","description":"normal compression","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"-y force yolk renew","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"release":{"name":"release","type":"boolean","description":"release: configure GUI installer to remove eggs and calamares after installation","allowNo":false}},"args":[],"_globalFlags":{}},"remove":{"id":"remove","description":"remove eggs and others stuff","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs remove \nremove eggs\n","$ sudo eggs remove --purge \nremove eggs, eggs configurations, configuration's files\n","$ sudo eggs remove --autoremove \nremove eggs, eggs configurations, packages dependencies\n"],"flags":{"purge":{"name":"purge","type":"boolean","char":"p","description":"remove eggs configurations files","allowNo":false},"autoremove":{"name":"autoremove","type":"boolean","char":"a","description":"remove eggs packages dependencies","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"syncfrom":{"id":"syncfrom","description":"Restore users, server and datas from luks-eggs-backup","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["restore"],"examples":["$ sudo eggs restore"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"syncto":{"id":"syncto","description":"Backup users, server and datas to luks-eggs-backup","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["backup"],"examples":["$ sudo eggs syncto"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"update":{"id":"update","description":"update the penguin's eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs update\nupdate/upgrade the penguin's eggs tool"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","allowNo":false},"amd64":{"name":"amd64","type":"boolean","description":"export amd64 arch","allowNo":false},"i386":{"name":"i386","type":"boolean","description":"export i386 arch","allowNo":false},"armel":{"name":"armel","type":"boolean","description":"export armel arch","allowNo":false},"arm64":{"name":"arm64","type":"boolean","description":"export arm64 arch","allowNo":false},"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false}},"args":[],"_globalFlags":{}},"export:docs":{"id":"export:docs","description":"remove and export docType documentation of the sources in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"export backup ISOs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","allowNo":false}},"args":[],"_globalFlags":{}},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["clean"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"tools:locales":{"id":"tools:locales","description":"install/clean locales","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"reinstall":{"name":"reinstall","type":"boolean","char":"r","description":"reinstall locales","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"tools:skel":{"id":"tools:skel","description":"update skel from home configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["skel"],"examples":["$ eggs skel --user mauro\ndesktop configuration of user mauro will get used as default"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"user":{"name":"user","type":"option","char":"u","description":"user to be used","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{}},"tools:stat":{"id":"tools:stat","description":"get statistics from sourceforge","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["stat"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"month":{"name":"month","type":"boolean","char":"m","description":"current month","allowNo":false},"year":{"name":"year","type":"boolean","char":"y","description":"current year","allowNo":false}},"args":[],"_globalFlags":{}},"tools:yolk":{"id":"tools:yolk","description":"configure eggs to install without internet","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs yolk -v"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{},"dir":"/var/local/yolk"},"wardrobe:get":{"id":"wardrobe:get","description":"get warorobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}],"_globalFlags":{}},"wardrobe:ironing":{"id":"wardrobe:ironing","description":"ordered show of costumes or accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}],"_globalFlags":{}},"wardrobe:list":{"id":"wardrobe:list","description":"list costumes and accessoires in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"wardrobe","description":"wardrobe","required":false}],"_globalFlags":{}},"wardrobe:show":{"id":"wardrobe:show","description":"show costumes/accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}],"_globalFlags":{}},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"no_accessories":{"name":"no_accessories","type":"boolean","char":"n","description":"not install accessories","allowNo":false},"silent":{"name":"silent","type":"boolean","char":"s","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}],"_globalFlags":{}}}}
|
|
1
|
+
{"version":"9.1.11","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":[],"_globalFlags":{}},"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":[],"_globalFlags":{}},"calamares":{"id":"calamares","description":"calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["~$ sudo eggs calamares \ncreate/renew calamares configuration's files\n","~$ sudo eggs calamares -i \ninstall calamares and create it's configuration's files\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and it's dependencies","allowNo":false},"final":{"name":"final","type":"boolean","char":"f","description":"final: remove calamares and all it's dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove calamares and it's dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false}},"args":[],"_globalFlags":{}},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["~$ sudo eggs config\nConfigure and install prerequisites deb packages to run it"],"flags":{"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"assume yes","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create new one","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"dad":{"id":"dad","description":"ask help from daddy - configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create","allowNo":false},"default":{"name":"default","type":"boolean","char":"d","description":"remove old configuration and force default","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{}},"info":{"id":"info","description":"informations about eggs configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"install":{"id":"install","description":"command-line system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs install\nInstall the system using GUI or CLI installer\n"],"flags":{"cli":{"name":"cli","type":"boolean","char":"c","description":"force use CLI installer","allowNo":false},"crypted":{"name":"crypted","type":"boolean","char":"k","description":"crypted CLI installation","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs kill\nkill the eggs/free the nest"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"mom":{"id":"mom","description":"ask for mommy - gui helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"produce":{"id":"produce","description":"produce a live image from your system whithout your data","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs produce \nproduce an ISO called [hostname]-[arch]-YYYY-MM-DD_HHMM.iso, compressed xz (standard compression).\nIf hostname=ugo and arch=i386 ugo-x86-2020-08-25_1215.iso\n","$ sudo eggs produce -v\nsame as previuos, but with --verbose output\n","$ sudo eggs produce -vf\nsame as previuos, compression zstd, lz4 or gzip (depend from system capability)\n","$ sudo eggs produce -vm\nsame as previuos, compression xz -Xbcj x86 (max compression, about 10%\nmore compressed)\n","$ sudo eggs produce -vf --basename leo --theme debian --addons adapt \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression fast,\nusing Debian theme and link to adapt\n","$ sudo eggs produce -v --basename leo --theme debian --addons rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz,\nusing Debian theme and link to dwagent\n","$ sudo eggs produce -v --basename leo --rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz, using eggs\ntheme and link to dwagent\n","$ sudo eggs produce -vs --basename leo --rsupport \nproduce scripts to build an ISO as the previus example. Scripts can be found\nin /home/eggs/ovarium and you can customize all you need\n"],"flags":{"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"backup mode","allowNo":false},"fast":{"name":"fast","type":"boolean","char":"f","description":"fast compression","allowNo":false},"normal":{"name":"normal","type":"boolean","char":"n","description":"normal compression","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"-y force yolk renew","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"release":{"name":"release","type":"boolean","description":"release: configure GUI installer to remove eggs and calamares after installation","allowNo":false}},"args":[],"_globalFlags":{}},"remove":{"id":"remove","description":"remove eggs and others stuff","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs remove \nremove eggs\n","$ sudo eggs remove --purge \nremove eggs, eggs configurations, configuration's files\n","$ sudo eggs remove --autoremove \nremove eggs, eggs configurations, packages dependencies\n"],"flags":{"purge":{"name":"purge","type":"boolean","char":"p","description":"remove eggs configurations files","allowNo":false},"autoremove":{"name":"autoremove","type":"boolean","char":"a","description":"remove eggs packages dependencies","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"syncfrom":{"id":"syncfrom","description":"Restore users, server and datas from luks-eggs-backup","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs restore"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"syncto":{"id":"syncto","description":"Backup users, server and datas to luks-eggs-backup","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs syncto"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"update":{"id":"update","description":"update the penguin's eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs update\nupdate/upgrade the penguin's eggs tool"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","allowNo":false},"amd64":{"name":"amd64","type":"boolean","description":"export amd64 arch","allowNo":false},"i386":{"name":"i386","type":"boolean","description":"export i386 arch","allowNo":false},"armel":{"name":"armel","type":"boolean","description":"export armel arch","allowNo":false},"arm64":{"name":"arm64","type":"boolean","description":"export arm64 arch","allowNo":false},"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false}},"args":[],"_globalFlags":{}},"export:docs":{"id":"export:docs","description":"remove and export docType documentation of the sources in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"export backup ISOs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","allowNo":false}},"args":[],"_globalFlags":{}},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"tools:locales":{"id":"tools:locales","description":"install/clean locales","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"reinstall":{"name":"reinstall","type":"boolean","char":"r","description":"reinstall locales","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"tools:skel":{"id":"tools:skel","description":"update skel from home configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs skel --user mauro\ndesktop configuration of user mauro will get used as default"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"user":{"name":"user","type":"option","char":"u","description":"user to be used","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{}},"tools:stat":{"id":"tools:stat","description":"get statistics from sourceforge","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"month":{"name":"month","type":"boolean","char":"m","description":"current month","allowNo":false},"year":{"name":"year","type":"boolean","char":"y","description":"current year","allowNo":false}},"args":[],"_globalFlags":{}},"tools:yolk":{"id":"tools:yolk","description":"configure eggs to install without internet","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs yolk -v"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{},"dir":"/var/local/yolk"},"wardrobe:get":{"id":"wardrobe:get","description":"get warorobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}],"_globalFlags":{}},"wardrobe:ironing":{"id":"wardrobe:ironing","description":"ordered show of costumes or accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}],"_globalFlags":{}},"wardrobe:list":{"id":"wardrobe:list","description":"list costumes and accessoires in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"wardrobe","description":"wardrobe","required":false}],"_globalFlags":{}},"wardrobe:show":{"id":"wardrobe:show","description":"show costumes/accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}],"_globalFlags":{}},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"no_accessories":{"name":"no_accessories","type":"boolean","char":"n","description":"not install accessories","allowNo":false},"silent":{"name":"silent","type":"boolean","char":"s","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}],"_globalFlags":{}}}}
|
package/package.json
CHANGED
package/scripts/_eggs
CHANGED
|
@@ -8,8 +8,7 @@ _eggs () {
|
|
|
8
8
|
## public cli commands & flags
|
|
9
9
|
local -a _all_commands=(
|
|
10
10
|
"adapt:adapt monitor resolution for VM only"
|
|
11
|
-
"analyze:analyze
|
|
12
|
-
"bro:bro: waydroid helper"
|
|
11
|
+
"analyze:analyze for syncto"
|
|
13
12
|
"calamares:calamares or install or configure it"
|
|
14
13
|
"config:Configure and install prerequisites deb packages to run it"
|
|
15
14
|
"dad:ask help from daddy - configuration helper"
|
|
@@ -56,12 +55,6 @@ analyze)
|
|
|
56
55
|
)
|
|
57
56
|
;;
|
|
58
57
|
|
|
59
|
-
bro)
|
|
60
|
-
_command_flags=(
|
|
61
|
-
"--help[Show CLI help.]"
|
|
62
|
-
)
|
|
63
|
-
;;
|
|
64
|
-
|
|
65
58
|
calamares)
|
|
66
59
|
_command_flags=(
|
|
67
60
|
"--help[Show CLI help.]"
|
package/scripts/eggs.bash
CHANGED
|
@@ -13,7 +13,6 @@ _eggs_autocomplete()
|
|
|
13
13
|
local commands="
|
|
14
14
|
adapt --verbose --help
|
|
15
15
|
analyze --help --verbose
|
|
16
|
-
bro --help
|
|
17
16
|
calamares --help --verbose --install --final --remove --theme
|
|
18
17
|
config --nointeractive --clean --help --verbose
|
|
19
18
|
dad --help --clean --default --verbose
|
package/lib/commands/bro.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* penguins-eggs-v8
|
|
3
|
-
* author: Piero Proietti
|
|
4
|
-
* email: piero.proietti@gmail.com
|
|
5
|
-
* license: MIT
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from '@oclif/core';
|
|
8
|
-
export default class Bro extends Command {
|
|
9
|
-
static description: string;
|
|
10
|
-
static flags: {
|
|
11
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
12
|
-
};
|
|
13
|
-
run(): Promise<void>;
|
|
14
|
-
}
|
package/lib/commands/bro.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
/**
|
|
5
|
-
* penguins-eggs-v8
|
|
6
|
-
* author: Piero Proietti
|
|
7
|
-
* email: piero.proietti@gmail.com
|
|
8
|
-
* license: MIT
|
|
9
|
-
*/
|
|
10
|
-
const core_1 = require("@oclif/core");
|
|
11
|
-
const node_path_1 = tslib_1.__importDefault(require("node:path"));
|
|
12
|
-
const utils_1 = tslib_1.__importDefault(require("../classes/utils"));
|
|
13
|
-
const utils_2 = require("../lib/utils");
|
|
14
|
-
class Bro extends core_1.Command {
|
|
15
|
-
async run() {
|
|
16
|
-
utils_1.default.titles(this.id + ' ' + this.argv);
|
|
17
|
-
const { args, flags } = await this.parse(Bro);
|
|
18
|
-
// No sudo!
|
|
19
|
-
if (process.getuid && process.getuid() === 0) {
|
|
20
|
-
utils_1.default.warning('You must to be kind with your bro, call him without sudo');
|
|
21
|
-
process.exit(0);
|
|
22
|
-
}
|
|
23
|
-
const cmd = node_path_1.default.resolve(__dirname, '../../scripts/bros/waydroid-helper.sh');
|
|
24
|
-
await (0, utils_2.exec)(cmd);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
exports.default = Bro;
|
|
28
|
-
Bro.description = 'bro: waydroid helper';
|
|
29
|
-
Bro.flags = {
|
|
30
|
-
help: core_1.Flags.help({ char: 'h' })
|
|
31
|
-
};
|