refactor: rebrand bash-helper to super-man + ESC returns straight to menu
Rename bash-helper.sh -> super-man.sh and update all docs/tests to the super-man name and alias. In interactive mode, pressing Esc in the flag browser now returns directly to the home menu, removing the intermediary "Press Enter to search another command" prompt. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+15
-15
@@ -14,7 +14,7 @@
|
||||
### 1. ASCII Banner & Updated Help
|
||||
|
||||
```bash
|
||||
$ bash-helper --help
|
||||
$ super-man --help
|
||||
```
|
||||
|
||||
**Output:**
|
||||
@@ -28,9 +28,9 @@ $ bash-helper --help
|
||||
Your Intelligent CLI Assistant for Bash
|
||||
|
||||
QUICK START
|
||||
bash-helper ask "find large files" # Ask a question
|
||||
bash-helper category files # Browse by category
|
||||
bash-helper explain "tar -czf" # Explain a command
|
||||
super-man ask "find large files" # Ask a question
|
||||
super-man category files # Browse by category
|
||||
super-man explain "tar -czf" # Explain a command
|
||||
|
||||
MODES
|
||||
Natural Language Queries:
|
||||
@@ -53,7 +53,7 @@ MODES
|
||||
#### Query: "find large files"
|
||||
|
||||
```bash
|
||||
$ bash-helper ask "find large files"
|
||||
$ super-man ask "find large files"
|
||||
```
|
||||
|
||||
**Output:**
|
||||
@@ -83,7 +83,7 @@ Tip: Use more specific keywords to narrow results
|
||||
#### Query: "symlink" (Single Result - Full Details)
|
||||
|
||||
```bash
|
||||
$ bash-helper ask "symlink"
|
||||
$ super-man ask "symlink"
|
||||
```
|
||||
|
||||
**Output:**
|
||||
@@ -122,7 +122,7 @@ Related tasks:
|
||||
### 3. Category Browsing
|
||||
|
||||
```bash
|
||||
$ bash-helper category files
|
||||
$ super-man category files
|
||||
```
|
||||
|
||||
**Output:**
|
||||
@@ -162,7 +162,7 @@ Category: File Operations
|
||||
#### List All Categories
|
||||
|
||||
```bash
|
||||
$ bash-helper category
|
||||
$ super-man category
|
||||
```
|
||||
|
||||
**Output:**
|
||||
@@ -174,13 +174,13 @@ Available categories:
|
||||
network : Network Operations
|
||||
system : System Monitoring
|
||||
|
||||
Usage: bash-helper category NAME
|
||||
Usage: super-man category NAME
|
||||
```
|
||||
|
||||
### 4. Command Explanation
|
||||
|
||||
```bash
|
||||
$ bash-helper explain "tar -czf archive.tar.gz folder/"
|
||||
$ super-man explain "tar -czf archive.tar.gz folder/"
|
||||
```
|
||||
|
||||
**Output:**
|
||||
@@ -206,7 +206,7 @@ Flag explanations:
|
||||
#### Direct Flag Lookup
|
||||
|
||||
```bash
|
||||
$ bash-helper ls size
|
||||
$ super-man ls size
|
||||
```
|
||||
|
||||
**Output:**
|
||||
@@ -293,7 +293,7 @@ All queries tested on the system:
|
||||
## File Changes
|
||||
|
||||
### Modified
|
||||
- **bash-helper.sh**: +370 lines (now 700+ total)
|
||||
- **super-man.sh**: +370 lines (now 700+ total)
|
||||
- Added intelligent search functions
|
||||
- Implemented 4 new query modes
|
||||
- Enhanced UI with ASCII banner
|
||||
@@ -315,7 +315,7 @@ All queries tested on the system:
|
||||
**Net Change**: +2,048 lines
|
||||
|
||||
**Pushed to Gitea**: ✅
|
||||
**URL**: http://localhost:3030/trill-technician/bash-buddy
|
||||
**URL**: http://localhost:3030/trill-technician/super-man
|
||||
|
||||
## What Users Can Do Now
|
||||
|
||||
@@ -339,7 +339,7 @@ All queries tested on the system:
|
||||
|
||||
## Educational Value
|
||||
|
||||
Bash Buddy is now a **learning platform**:
|
||||
Super Man is now a **learning platform**:
|
||||
|
||||
1. **Discovery**: Browse categories to see what's possible
|
||||
2. **Examples**: Real-world usage patterns for each task
|
||||
@@ -373,6 +373,6 @@ The system is designed for continuous improvement. Users can:
|
||||
|
||||
---
|
||||
|
||||
**Bash Buddy v2.0.0 - Phase 1 Complete** 🚀
|
||||
**Super Man v2.0.0 - Phase 1 Complete** 🚀
|
||||
|
||||
From simple flag lookup to intelligent CLI assistant in one upgrade!
|
||||
|
||||
Reference in New Issue
Block a user