How hanif-mianjee/hanif-cli-tools works
Hanif is a personal productivity CLI. The principal workflow is a user invoking hanif, selecting a Git or productivity command, and receiving an operation such as branch management, clipboard access, or a local server. Other documented stages include interactive squash and pre-commit-hook management. The tree identifies command and function modules, but no source excerpts were supplied, so internal dispatch and delegation links are shown as unverified rather than inferred.
Main entry points: hanif Hanif CLI · git.sh Git commands · squash.sh Commit squash · pr.sh Pull requests
Components 18
CLI entry
- Hanif CLI
bin/hanif
Git workflows
- Git commands
lib/commands/git.sh - Branch naming
lib/commands/wip.sh - Git profiles
lib/commands/git-setup.sh - Stash manager
lib/commands/stash.sh - Undo actions
lib/commands/undo.sh - Commit squash
lib/commands/squash.sh - Pull requests
lib/commands/pr.sh
Productivity tools
- Clipboard
lib/commands/clip.sh - IP lookup
lib/commands/ip.sh - Port tools
lib/commands/ports.sh - Static server
lib/commands/serve.sh
Repository tools
- Hook manager
lib/commands/pre-commit.sh - Environment settings
lib/commands/env.sh
Other components
- User
- Web browser
- System clipboard
- Git repository
Connections 18
- User → Hanif CLI: invokes
README.md - Hanif CLI → Git commands: dispatches
- Hanif CLI → Branch naming: dispatches
- Hanif CLI → Git profiles: dispatches
- Hanif CLI → Stash manager: dispatches
- Hanif CLI → Undo actions: dispatches
- Hanif CLI → Commit squash: dispatches
- Hanif CLI → Pull requests: dispatches
- Hanif CLI → Clipboard: dispatches
- Hanif CLI → IP lookup: dispatches
- Hanif CLI → Port tools: dispatches
- Hanif CLI → Static server: dispatches
- Hanif CLI → Hook manager: dispatches
- Hanif CLI → Environment settings: dispatches
- Pull requests → Web browser: opens URL
README.md - Clipboard → System clipboard: copies to
README.md - Git commands → Git repository: operates on
README.md - Commit squash → Git repository: rewrites commits
README.md