Write/append to actual cfg files #4

Open
opened 2022-08-04 14:39:18 -04:00 by nick · 0 comments

Given a class we need to write some stuff for (e.g., scout):

if (scout.cfg not exist) :
  create it
  insert exec our script into it
else:
  search it for a line that invokes us
  if( not line found )
	insert it at the end
Given a class we need to write some stuff for (e.g., scout): ```python if (scout.cfg not exist) : create it insert exec our script into it else: search it for a line that invokes us if( not line found ) insert it at the end ```
pacohope added this to the Release 1.0 project 2022-08-06 21:10:19 -04:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tfscript/tfscript#4
There is no content yet.