yakshaveinc / tasks

distributed roadmap
The Unlicense
1 stars 0 forks source link

Code Review -- Find a Program #31

Open abitrolly opened 6 years ago

abitrolly commented 6 years ago

Ideally, I want to use Python or other language out of the box:

if not program.exists('pass'):
  program.propose('pass')   # uses DB or map of package-to-program for different OSes
if not program.exists('pass'):
  sys.exit('no `pass` program found, can't continue')

I need to review difference implementation of program.exists() function and get the best. Public domain is the best, but also preserve authorship based on blames and public info.