learn_bash_from_session_data 1.0.5 → 1.0.6
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/package.json +7 -3
- package/scripts/html_generator.py +19 -25
- package/scripts/knowledge_base.py +5624 -1593
- package/scripts/quiz_generator.py +82 -28
- package/vectors.db +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "learn_bash_from_session_data",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Learn bash from your Claude Code sessions - extracts commands and generates interactive HTML lessons",
|
|
3
|
+
"version": "1.0.6",
|
|
4
|
+
"description": "Learn bash from your Claude Code sessions - extracts commands and generates interactive HTML lessons with 400+ commands, quizzes, and comprehensive coverage",
|
|
5
5
|
"main": "bin/learn-bash.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"learn-bash": "bin/learn-bash.js",
|
|
@@ -16,7 +16,11 @@
|
|
|
16
16
|
"claude",
|
|
17
17
|
"cli",
|
|
18
18
|
"terminal",
|
|
19
|
-
"shell"
|
|
19
|
+
"shell",
|
|
20
|
+
"quiz",
|
|
21
|
+
"commands",
|
|
22
|
+
"interactive",
|
|
23
|
+
"education"
|
|
20
24
|
],
|
|
21
25
|
"author": "",
|
|
22
26
|
"license": "MIT",
|
|
@@ -559,20 +559,17 @@ def render_lessons_tab(categories: dict, commands: list[dict]) -> str:
|
|
|
559
559
|
def _get_category_concept(category: str) -> str:
|
|
560
560
|
"""Get concept overview for a category."""
|
|
561
561
|
concepts = {
|
|
562
|
-
"File
|
|
563
|
-
"Text Processing": "Tools for searching, filtering,
|
|
564
|
-
"
|
|
565
|
-
"
|
|
566
|
-
"
|
|
567
|
-
"
|
|
568
|
-
"
|
|
569
|
-
"
|
|
570
|
-
"
|
|
571
|
-
"
|
|
572
|
-
"
|
|
573
|
-
"Compression": "Tools for compressing, archiving, and extracting files.",
|
|
574
|
-
"Search": "Commands for finding files, searching content, and locating resources.",
|
|
575
|
-
"Permissions": "Tools for managing file permissions, ownership, and access control.",
|
|
562
|
+
"File System": "Commands for navigating, viewing, creating, and managing files and directories in the filesystem.",
|
|
563
|
+
"Text Processing": "Tools for viewing, searching, filtering, and transforming text content in files and streams.",
|
|
564
|
+
"Git": "Version control system commands for tracking changes, managing branches, and collaborating on code.",
|
|
565
|
+
"Package Management": "Package managers for installing, updating, and managing software dependencies across languages and platforms.",
|
|
566
|
+
"Process & System": "Commands for monitoring, managing, and controlling running processes and system resources.",
|
|
567
|
+
"Networking": "Commands for network operations, file transfers, remote access, and connectivity diagnostics.",
|
|
568
|
+
"Permissions": "Commands for managing file ownership, access permissions, and user/group administration.",
|
|
569
|
+
"Compression": "Commands for compressing, archiving, and extracting files using various algorithms.",
|
|
570
|
+
"Search & Navigation": "Commands for finding files, searching content, and navigating the filesystem efficiently.",
|
|
571
|
+
"Development": "Development tools for building, testing, compiling, and running code across languages.",
|
|
572
|
+
"Shell Builtins": "Built-in shell commands for scripting, variable management, and interactive shell use.",
|
|
576
573
|
}
|
|
577
574
|
return concepts.get(category, f"Commands related to {category.lower()} operations and utilities.")
|
|
578
575
|
|
|
@@ -580,20 +577,17 @@ def _get_category_concept(category: str) -> str:
|
|
|
580
577
|
def _get_category_icon(category: str) -> str:
|
|
581
578
|
"""Get icon for a category."""
|
|
582
579
|
icons = {
|
|
583
|
-
"File
|
|
580
|
+
"File System": "📁",
|
|
584
581
|
"Text Processing": "📄",
|
|
585
|
-
"
|
|
586
|
-
"Network": "🌐",
|
|
582
|
+
"Git": "📊",
|
|
587
583
|
"Package Management": "📦",
|
|
588
|
-
"
|
|
589
|
-
"
|
|
590
|
-
"User Management": "👤",
|
|
591
|
-
"Disk Management": "💿",
|
|
592
|
-
"Shell Scripting": "❯",
|
|
593
|
-
"Development": "💻",
|
|
594
|
-
"Compression": "📦",
|
|
595
|
-
"Search": "🔍",
|
|
584
|
+
"Process & System": "⚙",
|
|
585
|
+
"Networking": "🌐",
|
|
596
586
|
"Permissions": "🔒",
|
|
587
|
+
"Compression": "📦",
|
|
588
|
+
"Search & Navigation": "🔍",
|
|
589
|
+
"Development": "💻",
|
|
590
|
+
"Shell Builtins": "❯",
|
|
597
591
|
}
|
|
598
592
|
return icons.get(category, "📌")
|
|
599
593
|
|