fix: resolve CI/CD workflow configuration
This commit is contained in:
23
README.md
23
README.md
@@ -1,12 +1,12 @@
|
|||||||
# Shell History Alias Generator
|
# Shell History Alias Generator
|
||||||
|
|
||||||
A CLI tool that analyzes your terminal command history to automatically discover frequently used long commands and generates shell aliases for them.
|
A CLI tool that analyzes terminal command history to discover frequently used long commands and generates shell aliases.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- **Multi-shell Support**: Parse history from Bash, Zsh, and Fish shells
|
- **Multi-shell Support**: Parse history from Bash, Zsh, and Fish shells
|
||||||
- **Smart Analysis**: Calculate frequency scores and identify commands worth aliasing
|
- **Smart Analysis**: Calculate frequency scores and identify commands worth aliasing
|
||||||
- **Interactive Review**: Review suggested aliases before adding them with a rich terminal UI
|
- **Interactive Review**: Review suggested aliases before adding them
|
||||||
- **Multi-format Export**: Export to bashrc, zshrc, or fish formats
|
- **Multi-format Export**: Export to bashrc, zshrc, or fish formats
|
||||||
- **Easy Installation**: Direct installation to shell configuration files
|
- **Easy Installation**: Direct installation to shell configuration files
|
||||||
|
|
||||||
@@ -19,8 +19,6 @@ pip install shell-history-alias-generator
|
|||||||
Or from source:
|
Or from source:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://7000pct.gitea.bloupla.net/7000pctAUTO/shell-history-alias-generator.git
|
|
||||||
cd shell-history-alias-generator
|
|
||||||
pip install -e .
|
pip install -e .
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -40,8 +38,6 @@ shell-alias-gen analyze ~/.bash_history --shell bash
|
|||||||
|
|
||||||
### Interactive mode
|
### Interactive mode
|
||||||
|
|
||||||
Review and select aliases interactively:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
shell-alias-gen analyze --min-frequency 3
|
shell-alias-gen analyze --min-frequency 3
|
||||||
```
|
```
|
||||||
@@ -96,19 +92,6 @@ Aliases are generated based on:
|
|||||||
- Common keywords (e.g., `docker`, `npm`)
|
- Common keywords (e.g., `docker`, `npm`)
|
||||||
- Minimum length and complexity requirements
|
- Minimum length and complexity requirements
|
||||||
|
|
||||||
## Development
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Install in development mode
|
|
||||||
pip install -e ".[dev]"
|
|
||||||
|
|
||||||
# Run tests
|
|
||||||
pytest tests/ -v
|
|
||||||
|
|
||||||
# Lint with ruff
|
|
||||||
ruff check .
|
|
||||||
```
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
MIT License
|
MIT
|
||||||
|
|||||||
Reference in New Issue
Block a user