npcsh 1.0.7__py3-none-any.whl → 1.0.8__py3-none-any.whl
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.
- npcsh/_state.py +122 -0
- {npcsh-1.0.7.dist-info → npcsh-1.0.8.dist-info}/METADATA +1 -1
- {npcsh-1.0.7.dist-info → npcsh-1.0.8.dist-info}/RECORD +7 -7
- {npcsh-1.0.7.dist-info → npcsh-1.0.8.dist-info}/WHEEL +0 -0
- {npcsh-1.0.7.dist-info → npcsh-1.0.8.dist-info}/entry_points.txt +0 -0
- {npcsh-1.0.7.dist-info → npcsh-1.0.8.dist-info}/licenses/LICENSE +0 -0
- {npcsh-1.0.7.dist-info → npcsh-1.0.8.dist-info}/top_level.txt +0 -0
npcsh/_state.py
CHANGED
|
@@ -552,6 +552,128 @@ def validate_bash_command(command_parts: list) -> bool:
|
|
|
552
552
|
"flags": ["-a", "-e", "-t", "-f", "-F", "-W", "-n", "-g", "-h"],
|
|
553
553
|
"requires_arg": True,
|
|
554
554
|
},
|
|
555
|
+
"ls": {
|
|
556
|
+
"flags": [
|
|
557
|
+
"-a",
|
|
558
|
+
"-l",
|
|
559
|
+
"-h",
|
|
560
|
+
"-R",
|
|
561
|
+
"-t",
|
|
562
|
+
"-S",
|
|
563
|
+
"-r",
|
|
564
|
+
"-d",
|
|
565
|
+
"-F",
|
|
566
|
+
"-i",
|
|
567
|
+
"--color",
|
|
568
|
+
],
|
|
569
|
+
"requires_arg": False,
|
|
570
|
+
},
|
|
571
|
+
"cp": {
|
|
572
|
+
"flags": [
|
|
573
|
+
"-r",
|
|
574
|
+
"-f",
|
|
575
|
+
"-i",
|
|
576
|
+
"-u",
|
|
577
|
+
"-v",
|
|
578
|
+
"--preserve",
|
|
579
|
+
"--no-preserve=mode,ownership,timestamps",
|
|
580
|
+
],
|
|
581
|
+
"requires_arg": True,
|
|
582
|
+
},
|
|
583
|
+
"mv": {
|
|
584
|
+
"flags": ["-f", "-i", "-u", "-v", "--backup", "--no-clobber"],
|
|
585
|
+
"requires_arg": True,
|
|
586
|
+
},
|
|
587
|
+
"rm": {
|
|
588
|
+
"flags": ["-f", "-i", "-r", "-v", "--preserve-root", "--no-preserve-root"],
|
|
589
|
+
"requires_arg": True,
|
|
590
|
+
},
|
|
591
|
+
"mkdir": {
|
|
592
|
+
"flags": ["-p", "-v", "-m", "--mode", "--parents"],
|
|
593
|
+
"requires_arg": True,
|
|
594
|
+
},
|
|
595
|
+
"rmdir": {
|
|
596
|
+
"flags": ["-p", "-v", "--ignore-fail-on-non-empty"],
|
|
597
|
+
"requires_arg": True,
|
|
598
|
+
},
|
|
599
|
+
"touch": {
|
|
600
|
+
"flags": ["-a", "-c", "-m", "-r", "-d", "--date"],
|
|
601
|
+
"requires_arg": True,
|
|
602
|
+
},
|
|
603
|
+
"grep": {
|
|
604
|
+
"flags": [
|
|
605
|
+
"-i",
|
|
606
|
+
"-v",
|
|
607
|
+
"-r",
|
|
608
|
+
"-l",
|
|
609
|
+
"-n",
|
|
610
|
+
"-c",
|
|
611
|
+
"-w",
|
|
612
|
+
"-x",
|
|
613
|
+
"--color",
|
|
614
|
+
"--exclude",
|
|
615
|
+
"--include",
|
|
616
|
+
],
|
|
617
|
+
"requires_arg": True,
|
|
618
|
+
},
|
|
619
|
+
"sed": {
|
|
620
|
+
"flags": [
|
|
621
|
+
"-e",
|
|
622
|
+
"-f",
|
|
623
|
+
"-i",
|
|
624
|
+
"-n",
|
|
625
|
+
"--expression",
|
|
626
|
+
"--file",
|
|
627
|
+
"--in-place",
|
|
628
|
+
"--quiet",
|
|
629
|
+
"--silent",
|
|
630
|
+
],
|
|
631
|
+
"requires_arg": True,
|
|
632
|
+
},
|
|
633
|
+
"awk": {
|
|
634
|
+
"flags": [
|
|
635
|
+
"-f",
|
|
636
|
+
"-v",
|
|
637
|
+
"--file",
|
|
638
|
+
"--source",
|
|
639
|
+
"--assign",
|
|
640
|
+
"--posix",
|
|
641
|
+
"--traditional",
|
|
642
|
+
],
|
|
643
|
+
"requires_arg": True,
|
|
644
|
+
},
|
|
645
|
+
"sort": {
|
|
646
|
+
"flags": [
|
|
647
|
+
"-b",
|
|
648
|
+
"-d",
|
|
649
|
+
"-f",
|
|
650
|
+
"-g",
|
|
651
|
+
"-i",
|
|
652
|
+
"-n",
|
|
653
|
+
"-r",
|
|
654
|
+
"-u",
|
|
655
|
+
"--check",
|
|
656
|
+
"--ignore-case",
|
|
657
|
+
"--numeric-sort",
|
|
658
|
+
],
|
|
659
|
+
"requires_arg": False,
|
|
660
|
+
},
|
|
661
|
+
"uniq": {
|
|
662
|
+
"flags": ["-c", "-d", "-u", "-i", "--check-chars", "--skip-chars"],
|
|
663
|
+
"requires_arg": False,
|
|
664
|
+
},
|
|
665
|
+
"wc": {
|
|
666
|
+
"flags": ["-c", "-l", "-w", "-m", "-L", "--bytes", "--lines", "--words"],
|
|
667
|
+
"requires_arg": False,
|
|
668
|
+
},
|
|
669
|
+
"pwd": {
|
|
670
|
+
"flags": ["-L", "-P"],
|
|
671
|
+
"requires_arg": False,
|
|
672
|
+
},
|
|
673
|
+
"chmod": {
|
|
674
|
+
"flags": ["-R", "-v", "-c", "--reference"],
|
|
675
|
+
"requires_arg": True,
|
|
676
|
+
},
|
|
555
677
|
|
|
556
678
|
}
|
|
557
679
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
npcsh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
npcsh/_state.py,sha256=
|
|
2
|
+
npcsh/_state.py,sha256=IsWS9uIOFv7X8vpcLjjErCaFoJFlrzqxTduAZ6qGpMs,30549
|
|
3
3
|
npcsh/alicanto.py,sha256=zJF5YwSNvtbK2EUKXzG45WOCMsSFu5cek5jCR7FgiuE,44709
|
|
4
4
|
npcsh/guac.py,sha256=Ocmk_c4NUtGsC3JOtmkbgLvD6u-XtBPRFRYcckpgUJU,33099
|
|
5
5
|
npcsh/mcp_helpers.py,sha256=Ktd2yXuBnLL2P7OMalgGLj84PXJSzaucjqmJVvWx6HA,12723
|
|
@@ -13,9 +13,9 @@ npcsh/routes.py,sha256=ufQVc6aqgC14_YHV88iwV53TN1Pk095NB6gFDqQqfB4,37208
|
|
|
13
13
|
npcsh/spool.py,sha256=GhnSFX9uAtrB4m_ijuyA5tufH12DrWdABw0z8FmiCHc,11497
|
|
14
14
|
npcsh/wander.py,sha256=BiN6eYyFnEsFzo8MFLRkdZ8xS9sTKkQpjiCcy9chMcc,23225
|
|
15
15
|
npcsh/yap.py,sha256=h5KNt9sNOrDPhGe_zfn_yFIeQhizX09zocjcPWH7m3k,20905
|
|
16
|
-
npcsh-1.0.
|
|
17
|
-
npcsh-1.0.
|
|
18
|
-
npcsh-1.0.
|
|
19
|
-
npcsh-1.0.
|
|
20
|
-
npcsh-1.0.
|
|
21
|
-
npcsh-1.0.
|
|
16
|
+
npcsh-1.0.8.dist-info/licenses/LICENSE,sha256=IKBvAECHP-aCiJtE4cHGCE5Yl0tozYz02PomGeWS3y4,1070
|
|
17
|
+
npcsh-1.0.8.dist-info/METADATA,sha256=dyfZu_kNq1aT4XAKz319ILVW12U8NLNBog4BG_o2ias,22747
|
|
18
|
+
npcsh-1.0.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
19
|
+
npcsh-1.0.8.dist-info/entry_points.txt,sha256=qxOYTm3ym3JWyWf2nv2Mk71uMcJIdUoNEJ8VYMkyHiY,214
|
|
20
|
+
npcsh-1.0.8.dist-info/top_level.txt,sha256=kHSNgKMCkfjV95-DH0YSp1LLBi0HXdF3w57j7MQON3E,6
|
|
21
|
+
npcsh-1.0.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|