Move the logic of getting attributes from yaml to assistant

- also fix writing out .devassistant (only write cli/gui args, not all current variables)