Skip to content
Snippets Groups Projects
Commit d234e400 authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files

Merge branch 'Fix_and_updated' into 'master'

Fix and updated

See merge request !23
parents 340613df 269b671c
No related branches found
No related tags found
1 merge request!23Fix and updated
Subproject commit 986fc5a916307a01c1ec64bb53f5e1932509544c
Subproject commit f94212973623702bff498780fc2d0426e595d5ec
#!/usr/bin/python3
# CellFrame SDK.Python v0.9-4 Example Application #0
from CellFrame.libCellFrame import *
from CellFrame import *
import os
app_name = "MyChains"
......
......@@ -2,7 +2,7 @@
import sys
import os
from CellFrame.libCellFrame import *
from CellFrame import *
app_name="MyChains"
tmp_dir = os.getcwd() + "/tmp"
......
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