Lists all distributions currently available (i.e. that have already been built).
(self, _args)
| 1184 | self.distributions(args) |
| 1185 | |
| 1186 | def distributions(self, _args): |
| 1187 | """Lists all distributions currently available (i.e. that have already |
| 1188 | been built).""" |
| 1189 | ctx = self.ctx |
| 1190 | dists = Distribution.get_distributions(ctx) |
| 1191 | |
| 1192 | if dists: |
| 1193 | print('{Style.BRIGHT}Distributions currently installed are:' |
| 1194 | '{Style.RESET_ALL}'.format(Style=Out_Style)) |
| 1195 | pretty_log_dists(dists, print) |
| 1196 | else: |
| 1197 | print('{Style.BRIGHT}There are no dists currently built.' |
| 1198 | '{Style.RESET_ALL}'.format(Style=Out_Style)) |
| 1199 | |
| 1200 | def delete_dist(self, _args): |
| 1201 | dist = self._dist |
no test coverage detected