Restructure project

This commit is contained in:
James Booth
2016-11-13 17:01:39 +00:00
parent 5eea0240ad
commit cdb6cd93b5
20 changed files with 0 additions and 27 deletions

27
stable/platform-info.py Normal file
View File

@@ -0,0 +1,27 @@
"""
Shows platform details in the console
Theme items in ~/.local/share/profanity/plugin_themes
[platform]
line=cyan
"""
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, account_name, fulljid):
synopsis = [
"/platform"
]
description = "Output system information to the console window."
args = []
examples = []
prof.register_command("/platform", 0, 0, synopsis, description, args, examples, _cmd_platform)