This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##!/usr/bin/env ruby | |
| quiet = false | |
| print = false | |
| header_footer = true | |
| while ARGV[0].to_s.start_with?('-') | |
| case ARGV[0] | |
| when '-o' | |
| print = true | |
| ARGV.shift |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| if ARGV[0].nil? | |
| $stderr.puts 'Must specify an input file' | |
| exit 1 | |
| end | |
| source = IO.read(ARGV[0]) | |
| title = nil |
[✔] A completed task
[✔] Another completed task
[{nbsp}] An open task. Get to it!