(self, name: str, path: str, command: str)
Creates a key with a command subkey with the 'name' and 'command', at path 'path'.
Creates a key with a command subkey with the 'name' and 'command', at path 'path'.
Creates a key with a command subkey with the name and command at path path .
def create_command(self, name: str, path: str, command: str):
        '''
        Creates a key with a command subkey with the 'name' and 'command', at path 'path'.
        '''
        key_path = os.path.join(path, name)
        create_key(key_path)
        set_key_value(key_path, '', name)

        command_path = os.path.join(key_path, 'command')
        create_key(command_path)
        set_key_value(command_path, '', command)
def create_command ( self , name : str , path : str , command : str ) : key_path = os . path . join ( path , name ) create_key ( key_path ) set_key_value ( key_path , '' , name ) command_path = os . path . join ( key_path , 'command' ) create_key ( command_path ) set_key_value ( command_path , '' , command )