~/bend-docscommunity

cli/main.bend relies on unsafe/foreign

raw source on the hub · import 0xc13c365900e26112e0e544022d18fe0b/cli/main.bend as Main

5 imports
import Base
import ./v.bend as M
import ./project.bend as P
import ./vimport.bend as I
import ./vdry.bend as D

Definitions

def usage source · line 8 · raw

IO(Unit)

The v command. Its commands are namespaced by what they act on: v system ... for a system.

def plan source · line 11 · raw

IO(Unit)

def pick_io source · line 16 · raw

@c:Bool -> @a:IO(Unit) -> @b:IO(Unit) -> IO(Unit)

def first_or source · line 23 · raw

@xs:List<&1, String> -> @d:String -> String

def run source · line 30 · raw

@+cmd:String -> @rest:List<&1, String> -> IO(Unit)

def system source · line 39 · raw

@args:List<&1, String> -> IO(Unit)

def dispatch source · line 46 · raw

@args:List<&1, String> -> IO(Unit)

def main source · line 53 · raw

IO(Unit)