You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-n / --no-launch currently prints the selected session directory, while -n -v / --no-launch --verbose changes the output type to a full launch command.
That makes -v carry two responsibilities:
verbose diagnostics/logging
selecting the output format for no-launch mode
The combined -nv shorthand is especially unclear and does not need to remain compatible.
Requirement
Separate no-launch output format from verbosity:
keep no-launch as an interactive select-without-launch workflow
add an explicit directory-printing mode, e.g. --print-dir
add an explicit command-printing mode, e.g. --print-launch-command
stop documenting and preserving -nv as the full-command interface
keep --verbose focused on diagnostics, not output type
#3's shell-init work needs a machine-readable launch-command output path. Earlier #3 drafts relied on -n -v; this issue should replace that dependency with --print-launch-command.
Problem
-n/--no-launchcurrently prints the selected session directory, while-n -v/--no-launch --verbosechanges the output type to a full launch command.That makes
-vcarry two responsibilities:The combined
-nvshorthand is especially unclear and does not need to remain compatible.Requirement
Separate no-launch output format from verbosity:
--print-dir--print-launch-command-nvas the full-command interface--verbosefocused on diagnostics, not output typeRelationship To #3
#3's shell-init work needs a machine-readable launch-command output path. Earlier #3 drafts relied on
-n -v; this issue should replace that dependency with--print-launch-command.After #40, shell-init should call:
command aps --print-launch-command ...not:
command aps --no-launch --verbose ...Scope
Non-Goals
--print-launch-commandlater.Plan
See
docs/agent/plan-issue-40-no-launch-output-flags.md.