kreczko / hepshell

A Python Shell for High Energy Particle Physics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Investigate use & overlap with click

kreczko opened this issue · comments

Click is more simple when it comes to creating commands
http://click.pocoo.org/5/

To investigate:

  • how easy is it to chain commands?
  • does bash complete work with custom MultiCommand?
  • how easy is it to create a command hierarchy
  • how easy is it to add a new command
  • does it support logging?

Features:

  • has bash autocomplete
  • type safety for parameters (can even test if a file exists)
  • easy chaining of commands
  • commands are decorated functions

missing items:

  • no shell mode
  • load commands from plugins
  • needs a different 'file exists' method for remote files (e.g /store)

First results of the investigations are on branch click-testing. So far so good.