### Install Togo via Pre-built Binaries (Linux/macOS) Source: https://github.com/prime-run/togo/blob/master/README.md Downloads and installs pre-built binaries for Togo on Linux (x86_64) and macOS (Apple Silicon arm64). It extracts the binaries to ~/.local/bin and suggests updating the PATH. ```bash wget https://github.com/prime-run/togo/releases/download/v1.0.5/togo_1.0.5_linux_amd64.tar.gz mkdir -p ~/.local/bin tar -xzf togo_*.tar.gz -C ~/.local/bin/togo ``` ```bash wget https://github.com/prime-run/togo/releases/download/v1.0.5/togo_1.0.5_darwin_arm64.tar.gz mkdir -p ~/.local/bin tar -xzf togo_*.tar.gz -C ~/.local/bin/togo ``` ```bash export PATH="$HOME/.local/bin:$PATH" ``` -------------------------------- ### Install Togo using Go CLI Source: https://github.com/prime-run/togo/blob/master/README.md Installs the latest version of Togo using the Go command-line interface. This method requires Go to be installed on the system. ```go go install github.com/prime-run/togo@latest ``` -------------------------------- ### Togo Shell Completion Setup Source: https://github.com/prime-run/togo/blob/master/README.md Provides instructions for setting up shell completion for the Togo CLI in Zsh, Bash, and Fish shells to enable tab-completion for commands and task names. ```zsh # 1. Create completion directory mkdir -p ~/.zsh/completion echo "fpath=(~/.zsh/completion $fpath)" >> ~/.zshrc # 2. Enable completions echo "autoload -Uz compinit && compinit" >> ~/.zshrc # 3. Apply Togo completion togo completion zsh > ~/.zsh/completion/_togo source ~/.zshrc ``` ```bash # 1. Ensure completion is sourced echo "[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion" >> ~/.bashrc source ~/.bashrc # 2. Install Togo completion togo completion bash > ~/.bash_completion source ~/.bash_completion ``` ```fish mkdir -p ~/.config/fish/completions togo completion fish > ~/.config/fish/completions/togo.fish ``` -------------------------------- ### Install Togo on Arch Linux Source: https://github.com/prime-run/togo/blob/master/README.md Installs the 'togo' package on Arch Linux using the AUR helper 'paru'. This is a convenient way to manage the tool on Arch-based systems. ```bash paru -S togo-bin ``` -------------------------------- ### Togo CLI Basic Usage Source: https://github.com/prime-run/togo/blob/master/README.md Demonstrates the basic command to toggle task completion and how Togo filters tasks as you type. It also shows an example of fuzzy matching for task selection. ```bash togo toggle -s project togo toggle me[TAB] togo toggle snap ``` -------------------------------- ### Togo CLI Commands Source: https://github.com/prime-run/togo/blob/master/README.md Lists the available commands for the Togo CLI, including adding, toggling, archiving, unarchiving, deleting, listing tasks, and initializing project-local storage. It also mentions the `--source` flag for controlling storage location. ```APIDOC togo add "Task description" - Adds a new task. togo toggle [task] - Toggles the completion status of a task. togo archive [task] - Archives a completed task. togo unarchive [task] - Restores an archived task. togo delete [task] - Permanently removes a task. togo list [flags] - Views tasks. Supports flags like --all and --archived. togo init - Creates an empty .togo file in the current directory to enable project-local storage. --source|-s {project|global} - Controls where tasks are read from or written to. 'project' uses the nearest ./.togo file, and 'global' uses a configuration directory. ``` -------------------------------- ### Build Togo from Source Source: https://github.com/prime-run/togo/blob/master/README.md Clones the Togo repository and builds the executable using 'make'. This method also sets up shell completion automatically. ```bash git clone https://github.com/prime-run/togo.git cd togo make ``` -------------------------------- ### Manage Togo Task Storage (Project vs Global) Source: https://github.com/prime-run/togo/blob/master/README.md Demonstrates how to manage task storage sources in Togo. Tasks can be stored in project-local '.togo' files or a global configuration file. The '--source' flag controls this behavior. ```bash togo list togo add "Write docs" -s project togo list --source global ``` ```bash togo init # creates ./.togo with an empty JSON list ``` -------------------------------- ### Togo Command-Line Operations Source: https://github.com/prime-run/togo/blob/master/README.md Shows how to perform task operations using Togo's command-line interface. It supports direct selection by partial name or interactive selection. ```bash togo toggle meeting togo toggle meeting --source global ``` ```bash togo toggle ``` -------------------------------- ### Togo Interactive Mode (TUI) Source: https://github.com/prime-run/togo/blob/master/README.md Launches the Togo Text User Interface (TUI) for managing tasks visually. It allows viewing active, all, or archived tasks. ```bash togo togo list # Active todos only togo list --all # All todos togo list --archived # Archived todos only ``` -------------------------------- ### Add a Task to Togo Source: https://github.com/prime-run/togo/blob/master/README.md Adds a new task to the Togo task list. Tasks can be provided as a string argument or via standard input if no argument is given. ```bash togo add "Task description" togo add Call the client about project scope ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.