mirror of
https://github.com/denisidoro/navi
synced 2024-11-28 14:30:22 +00:00
27 lines
685 B
Bash
Executable file
27 lines
685 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
export SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
|
|
source "${SCRIPT_DIR}/src/arg.sh"
|
|
source "${SCRIPT_DIR}/src/cheat.sh"
|
|
source "${SCRIPT_DIR}/src/docs.sh"
|
|
source "${SCRIPT_DIR}/src/misc.sh"
|
|
source "${SCRIPT_DIR}/src/selection.sh"
|
|
source "${SCRIPT_DIR}/src/str.sh"
|
|
source "${SCRIPT_DIR}/src/ui.sh"
|
|
|
|
source "${SCRIPT_DIR}/src/main.sh"
|
|
|
|
##? Command cheatsheet tool
|
|
##?
|
|
##? Usage:
|
|
##? cheats [options]
|
|
##?
|
|
##? Options:
|
|
##? --print Prevent script execution [default: false]
|
|
##? --no-interpolation Prevent argument interpolation [default: false]
|
|
|
|
VERSION="0.6.0"
|
|
docs::eval "$@"
|
|
main "$@"
|