Initial commit
This commit is contained in:
9
platform-info.py
Normal file
9
platform-info.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import prof
|
||||
import platform
|
||||
|
||||
def prof_init(version, status):
|
||||
prof.register_command("/platform", 0, 0, "/platform", "Output system information.", "Output system information", cmd_platform)
|
||||
|
||||
def cmd_platform():
|
||||
result_summary = platform.platform()
|
||||
prof.cons_show(result_summary)
|
||||
Reference in New Issue
Block a user