-
Notifications
You must be signed in to change notification settings - Fork 0
Stop micromanaging the CLI flags #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,12 @@ | ||
| function __flock_tab_setup --description "Open a new workspace tab scoped to a directory — auto-detects zellij/cmux/bare" | ||
| set -l tab_name "" | ||
| set -l workdir (pwd) | ||
| set -l cli claude --dangerously-skip-permissions | ||
| set -l cli claude | ||
|
|
||
| argparse 'x' 'name=' 'dir=' 'prompt=' -- $argv 2>/dev/null | ||
|
|
||
| if set -q _flag_x | ||
| set cli codex --full-auto | ||
| set cli codex | ||
| end | ||
|
Comment on lines
+4
to
10
|
||
| set -q _flag_name; and set tab_name $_flag_name | ||
| set -q _flag_dir; and set workdir $_flag_dir | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the default CLI is now just
claude(no--dangerously-skip-permissions), the later inline comment/example in this function that still includes that flag is now out of date. Please update the example so it reflects the new launch command.