formations/old_modules_EOLE_envole/documents/tronc-commun-2-avancee/ead/cmd_ls.py

13 lines
267 B
Python
Raw Normal View History

2013-03-10 21:45:51 +01:00
# -*- coding: UTF-8 -*-
from ead2.backend.actions.lib.main import Cmd
class Cmd_Ls(Cmd):
"""
Action du mode commande
"""
name = "cmd_ls"
# propriété de la commande à exécuter
cmd_template = "/bin/ls /tmp"
cmd_libelle = "ls sur /tmp"