package core

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

Path.t is a top-level executable name and sequence of subcommand names that can be used to identify a command.

val create : path_to_exe:string -> t

create creates a path from a toplevel executable given by path_to_exe.

val append : t -> subcommand:string -> t

append appends a subcommand to t.

val parts : t -> string list

parts returns a list containing the path's executable name followed by its subcommands.