Comment Comment by vkjv This is missing something that I highly recommend:"Start with supporting stdin/stdout as the only input and output. This ensures that it is composable with other utilities. You may find you never need anything else"Need to read a file? `my-cli < file`Need to write a file? `my-cli > file`How about read from a URL? `curl url | my-cli` parent vkjv 10 years ago
"Start with supporting stdin/stdout as the only input and output. This ensures that it is composable with other utilities. You may find you never need anything else"
Need to read a file? `my-cli < file`
Need to write a file? `my-cli > file`
How about read from a URL? `curl url | my-cli`