| | |
| | | String[] h = { "Name", "Description", "Last Modified", "# Repos" }; |
| | | headers = h; |
| | | } else { |
| | | String[] h = { "Name", "Description" }; |
| | | String[] h = { "Name", "Last Modified", "# Repos" }; |
| | | headers = h; |
| | | } |
| | | |
| | |
| | | if (verbose) { |
| | | data[i] = new String[] { p.name, p.description, df.format(p.lastChange), "" + p.repositories.size() }; |
| | | } else { |
| | | data[i] = new String[] { p.name, p.description }; |
| | | data[i] = new String[] { p.name, df.format(p.lastChange), "" + p.repositories.size() }; |
| | | } |
| | | } |
| | | stdout.println(FlipTable.of(headers, data, Borders.BODY_COLS)); |
| | | stdout.println(FlipTable.of(headers, data, Borders.BODY_HCOLS)); |
| | | } |
| | | |
| | | protected void asTabbed(List<ProjectModel> list) { |