Skip to content

feat: add --open and --no-open flags to control browser opening#19

Merged
k1LoW merged 1 commit intomainfrom
add-open-no-open-flags
Feb 28, 2026
Merged

feat: add --open and --no-open flags to control browser opening#19
k1LoW merged 1 commit intomainfrom
add-open-no-open-flags

Conversation

@k1LoW
Copy link
Copy Markdown
Owner

@k1LoW k1LoW commented Feb 28, 2026

Summary

  • Add --no-open flag to suppress automatic browser opening on server start and file addition
  • Add --open flag to force browser opening even when adding files to an existing group (which normally doesn't open)
  • The two flags are mutually exclusive; using both results in an error

Closes #18

--no-open suppresses automatic browser opening on server start and
file addition. --open forces browser opening even when adding files
to an existing group. The two flags are mutually exclusive.

Closes #18
@k1LoW k1LoW self-assigned this Feb 28, 2026
@k1LoW k1LoW added enhancement New feature or request tagpr:minor labels Feb 28, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Code Metrics Report

main (c8e13e8) #19 (26f5a88) +/-
Coverage 10.6% 10.5% -0.1%
Code to Test Ratio 1:0.1 1:0.1 -0.1
Test Execution Time 20s 22s +2s
Details
  |                     | main (c8e13e8) | #19 (26f5a88) |  +/-  |
  |---------------------|----------------|---------------|-------|
- | Coverage            |          10.6% |         10.5% | -0.1% |
  |   Files             |              5 |             5 |     0 |
  |   Lines             |            488 |           492 |    +4 |
  |   Covered           |             52 |            52 |     0 |
- | Code to Test Ratio  |          1:0.1 |         1:0.1 |  -0.1 |
  |   Code              |           1158 |          1160 |    +2 |
  |   Test              |            161 |           161 |     0 |
- | Test Execution Time |            20s |           22s |   +2s |

Code coverage of files in pull request scope (0.0% → 0.0%)

Files Coverage +/- Status
cmd/root.go 0.0% 0.0% modified

Reported by octocov

@k1LoW k1LoW merged commit 63c9d1d into main Feb 28, 2026
3 checks passed
@k1LoW k1LoW deleted the add-open-no-open-flags branch February 28, 2026 06:48
@github-actions github-actions Bot mentioned this pull request Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request tagpr:minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: option to suppress automatic browser opening

1 participant