3 """Utilities related to changing the orb's color."""
10 parser = config.add_commandline_args(
11 f"Orb Utils ({__file__})",
12 "Args having to do with controlling Scott's Orb.",
15 "--orb_utils_file_location",
16 default="/Users/scott/orb_color",
19 help="The location of the orb file on whatever machine is hosting it."
22 "--orb_utils_user_machine",
24 metavar="USER@HOSTNAME",
26 help="The username/machine combo that is hosting the orb."
30 def make_orb(color: str) -> None:
31 user_machine = config.config['orb_utils_user_machine']
32 orbfile_path = config.config['orb_utils_file_location']
34 f"ssh {user_machine} 'echo \"{color}\" > {orbfile_path}'"