Create and archive daily work reports.
$ git clone https://github.com/KindMaple/work_report.git
$ cargo build --release
$ cp target/release/work_report /path/to/any/directory/
// Locate the executable file.
$ ls
work_report
// When you run this program, the day's work report is created
$ ./work_report
Template.txt was not found, so it is generated automatically.
Created: /tmp/20200828/Template.txt
Created: /tmp/20200828/20200828.txt.
$ ls
20200828.txt Template.txt work_report
// You can edit `Template.txt` as you see fit.
// When you run it at the end of the day, it automatically archives your files in a directory by date.
$ ./work_report
Archiving...
Archived: 20200828.txt
All the files have been archived.
Today's work report already exists.
// It will look like this.
$ tree
.
├── 20200828.txt
├── Archive
│ └── 2020
│ └── 08
│ └── 20200828.txt
├── Template.txt
└── work_report
3 directories, 4 files