Lines Matching refs:cli
28 -- $FreeBSD: stable/11/stand/lua/cli.lua 360596 2020-05-03 03:53:38Z kevans $
34 local cli = {}
73 -- functions. This is global pollution, but the clearly separated 'cli' looks
84 local cmd = cli[cmd_name]
103 function cli.boot(...)
104 local _, argv = cli.arguments(...)
113 function cli.autoboot(...)
114 local _, argv = cli.arguments(...)
119 cli['boot-conf'] = function(...)
120 local _, argv = cli.arguments(...)
129 cli['read-conf'] = function(...)
130 local _, argv = cli.arguments(...)
134 cli['reload-conf'] = function(...)
138 -- Used for splitting cli varargs into cmd_name and the rest of argv
139 function cli.arguments(...)
146 return cli