Skip to content

Commit

Permalink
Merge pull request #21 from Kleptobismol/remove_types
Browse files Browse the repository at this point in the history
Remove types
  • Loading branch information
jairideout authored Jul 14, 2016
2 parents 19495f5 + deaa651 commit 562c9df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions q2cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ class QiimeCLI(click.MultiCommand):

def list_commands(self, ctx):
plugins = list(sorted(self._plugin_manager.plugins.keys()))
for idx, key in enumerate(plugins):
plugin = self._plugin_manager.plugins[key]
if not plugin.methods and not plugin.visualizers:
del plugins[idx]
builtins = list(sorted(self._builtin_commands.keys()))
commands = builtins + plugins
return commands
Expand Down

0 comments on commit 562c9df

Please sign in to comment.