tea
tea copied to clipboard
initial imlementation of list repos (#3)
- implemented runRepos()
- reimplemented issues.initCommand() as repos.initCommandLoginOnly() as repos command does not always need a valid repository argument.
Output:
$ go build && ./tea repos --login try
Name Type/Mode SSH-URL Owner
test-orga/test source [email protected]:test-orga/test.git test-user
Signed-off-by: Andreas Ulm [email protected]
I think noheader
flag seems unnecessary. We always needs a header. But for format print on console, \t
will not always available.
I think
noheader
flag seems unnecessary. We always needs a header.
@lunny I just added the option to allow further output usage without requiring something like | tail -n -1 |
to exclude the header.
But for format print on console,
\t
will not always available.
I just copied the output format from pulls.runPulls().
@lunny removed header flag and changed delimiter to pipe.
When I'm done with the unified output ( https://github.com/root360-AndreasUlm/tea/tree/unified_output_function ) the output of this function will be changed again.