A Rust clone of doing by Brett Terpstra — a command line tool for remembering what you were doing and tracking what you've done. doing.aaronmallen.dev
doing docs site cli open.md
1.1 kB · 55 lines
Markdown
at main

open #

Open the doing file in an editor.

Usage #

doing open [OPTIONS]

doing open waits for the editor to exit, because a terminal editor needs the terminal to itself. Pass --no-wait for an editor that opens its own window and would otherwise hold your shell until you quit it.

Options #

Flag Description
-a, --app APP Run a specific editor command instead of the configured one
--backup Open the most recent backup instead of the doing file
-b, --bundle_id BUNDLE_ID Open with an application by macOS bundle identifier
-e, --editor EDITOR Override the configured editor
--no-wait Return immediately instead of waiting for the editor to exit

Examples #

Open the doing file in the default editor:

doing open

Open the doing file with a specific editor command:

doing open -a code

Open the doing file using a macOS bundle ID:

doing open -b com.microsoft.VSCode

Open the doing file without waiting for the editor to close:

doing open --no-wait

Open the most recent backup:

doing open --backup