- A lot of commands I needed to run via shell (pfctl, writing a file, etc.) it would be great to address those gaps - [0.1.1]
- Create a write file tome to write an arbitrary string to a location on disk as a file with specified name
Create a tome that takes two input_params
content and path such that the tome will write content to the destination file.
- If the file doesn't exist it should be created.
- If the file does exist it should be deleted and then written.
- If the contents of the file are already equal to
content the tome should print a success message indicating so.
- The tome should error if the parent dir doesn't exist
- The tome should error if it's unable to write to the dest file
Create a tome that takes two input_params
contentandpathsuch that the tome will write content to the destination file.contentthe tome should print a success message indicating so.