Skip to content
Snippets Groups Projects
Commit 69f2e03b authored by alexey.stratulat's avatar alexey.stratulat
Browse files

[*] Fix example for correct working with commands.

parent 08a18a1b
No related branches found
No related tags found
1 merge request!18Bugs 3359
from CellFrame.libCellFrame import *
def cmdUser(*argv):
def cmdUser(argv, strReply):
reply="user managment command:\n"
for arg in argv:
reply+=" arg"+str(arg)+"=\""+arg+"\"\n"
setReplyText(reply)
AppCliServer.setReplyText(reply, strReply)
def init():
AppCliServer.cmdItemCreate("user",cmdUser,"User managment command","""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment