package oxbow

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

Source file cmd_layout_floating.ml

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

let command_term =
  let open Cmdliner.Term.Syntax in
  let+ scope = Ctl_cli.setting_scope_term in
  Command.Layout (Select { layout = Floating; scope })
;;

let name = "floating"
let doc = "Switch to the floating layout"

let cmd, bind_cmd =
  Ctl_cli.group_pair
    ~name
    ~doc
    ~default:command_term
    [ Cmd_layout_floating_seed.(cmd, bind_cmd) ]
;;