cli
cli copied to clipboard
CLI should be more strict with function names
fn init
doesn't test if a function name has space(s) in its name or if the name starts/end with a separator(s).
Ex. the following functions will be successfully bootstrapped by init
but will fail at the build
stage given their names doesn't comply with Docker naming convention.
fn init --runtime go " "
fn init --runtime go "john doe"
fn init --runtime go "...."
fn init --runtime go .separator
fn init --runtime go separator.
and with other separators : -
, _
,--
, __