go cli program using pipes