spaces_working_env()
def spaces_working_env(add_spaces_to_sysroot, inherit_terminal, visibility) -> stringSets the spaces working env which provides /usr/bin and /bin in the PATH so that the user can run system commands.
Adding this checkout rule also inherits HOME and adds (spaces) to the prompt when using source ./env.
Args
add_spaces_to_sysroot: bool: If True, adds the spaces binary to the sysroot/bin directory.inherit_terminal: bool: If True, inherits terminal variables. This enablesspaces shellto work well.visibility: Rule visibility:Public|Private|Rules[]. See visbility.star for more info.
Returns
The name of the rule.