Args creates a pipe containing the program's command-line arguments from [os.Args], excluding the program name, one per line.
()
| 43 | // Args creates a pipe containing the program's command-line arguments from |
| 44 | // [os.Args], excluding the program name, one per line. |
| 45 | func Args() *Pipe { |
| 46 | return Slice(os.Args[1:]) |
| 47 | } |
| 48 | |
| 49 | // Do creates a pipe that makes the HTTP request req and produces the response. |
| 50 | // See [Pipe.Do] for how the HTTP response status is interpreted. |
searching dependent graphs…