def list_commands(request):
    # if none exist throw a 404
    commands = get_list_or_404(Command)
    context = {
        'commands': commands,
    }
    return render_to_response('list_commands.html', context,
        context_instance=RequestContext(request))
list all the available commands in the system
dataset/ETHPy150Open garethr/Asteroid/asteroid/apps/runner/views.py/list_commands