17 lines
437 B
Python
17 lines
437 B
Python
import prof
|
|
import platform
|
|
|
|
def _cmd_platform():
|
|
result_summary = platform.platform()
|
|
prof.cons_show_themed("platform", "line", None, result_summary)
|
|
|
|
def prof_init(version, status):
|
|
synopsis = [
|
|
"/platform"
|
|
]
|
|
description = "Output system information to the console window."
|
|
args = []
|
|
examples = []
|
|
|
|
prof.register_command("/platform", 0, 0, synopsis, description, args, examples, _cmd_platform)
|