asmvik / asmvik/yabai

Add cli option to "cycle" service

Open
#2,744 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
29.6k
Forks
750
PR merge metrics
No merged PRs in 30d

Description

Hi,

It would be nice to have a `--cycle-service` option that does `--start-service` when the service is stopped and `--stop-service` when the service is started.

Regards.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing --start-service and --stop-service option handling and how the service's current state is checked. Add --cycle-service so it selects the corresponding action based on whether the service is stopped or started, then verify both transitions through the CLI.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli, operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.