package oxbow

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file cmd_window_rule_remove.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
open! Oxbow_ipc

let command_term =
  let open Cmdliner.Term.Syntax in
  let+ indices =
    Ctl_cli.index_args
      ~doc:
        "The window rule(s) by index. See existing rules and their index with $(b,oxctl \
         window rules list)."
  in
  Command.Window (Rule_remove indices)
;;

let name = "remove"
let doc = "Remove a window rule"
let cmd, bind_cmd = Ctl_cli.cmd_pair ~name ~doc command_term