Module garden::syntax [−][src]
Expand description
Command-line syntax conventions
Functions
graft_basename | Return the graft basename. “@foo::bar::baz” -> “foo” |
is_digit | Return true if the string contains 0-9 digits only |
is_exec | Return true if |
is_garden | Return true if |
is_graft | Return true if |
is_group | Return true if |
is_tree | Return true if |
split_graft | Split a string into pre and post-graft namespace string refs |
split_string | Safely a string into pre and post-split references |
trim | Trim garden, group, and tree prefixes |
trim_exec | Trim the “$ “ prefix from an exec expression |
trim_graft | Remove the graft basename leaving the remainder of the graft string. |