How osteensco/fasttravelcli works
fastTravelCLI is a shell-oriented directory-navigation CLI. A user invokes it through a shell integration or directly; the Go entry point parses input, loads persisted bookmarks and settings when needed, and dispatches a command. Commands cover bookmark management, path resolution, session history, fuzzy directory selection, settings, and updates. The excerpts confirm entry-point loading, persistence helpers, query evaluators, and the settings UI; several command implementations are only partially shown, so their internal links are omitted or marked unverified.
Main entry points: commands.go Command dispatch · main.go CLI entry point · models.go Settings interface · ftmain.sh Shell integration
Components 19
CLI entry
- Shell integration
shells/bash/ftmain.sh - CLI entry point
main.go - Command dispatch
ft/commands.go
Navigation
- Directory navigation
ft/commands.go - Path resolution
ft/query.go - Directory history
ft/commands.go
Bookmarks and state
- Bookmark management
ft/commands.go - Bookmark persistence
data/io.go - Settings persistence
data/settings.go
Interactive features
- Bookmark finder
ft/commands.go - Directory finders
ft/commands.go
Settings and maintenance
- Settings command
ft/commands.go - Settings interface
tui/settings/models.go - Settings views
tui/settings/views.go - TUI launcher
tui/init.go - Version updater
ft/commands.go
Other components
- Shell user
- fzf and tree
- GitHub releases
Connections 21
- Shell user → Shell integration: invokes
README.md - Shell integration → CLI entry point: runs CLI
- CLI entry point → Command dispatch: dispatches command
main.go - CLI entry point → Bookmark persistence: loads bookmarks
main.go - CLI entry point → Settings persistence: loads settings
main.go - Command dispatch → Bookmark persistence: updates bookmarks
ft/commands.go - Command dispatch → Path resolution: resolves paths
- Command dispatch → Directory navigation: handles navigation
ft/commands.go - Command dispatch → Bookmark management: handles bookmarks
ft/commands.go - Command dispatch → Directory history: handles history
ft/commands.go - Command dispatch → Bookmark finder: opens finder
ft/commands.go - Command dispatch → Directory finders: opens finder
ft/commands.go - Bookmark finder → fzf and tree: uses tools
- Directory finders → fzf and tree: uses tools
- Command dispatch → Settings command: handles settings
ft/commands.go - Settings command → TUI launcher: starts interface
ft/commands.go - TUI launcher → Settings interface: runs settings UI
tui/init.go - Settings interface → Settings views: renders views
- Settings interface → Settings persistence: writes settings
tui/settings/models.go - Command dispatch → Version updater: handles updates
ft/commands.go - Version updater → GitHub releases: checks releases