Metadata-Version: 2.1
Name: terminalpackagehamderber
Version: 0.0.7
Summary: Terminal package
Project-URL: Homepage, https://github.com/Hamderber/TerminalPackageHamderber
Project-URL: Bug Tracker, https://github.com/Hamderber/TerminalPackageHamderber/issues
Author-email: Hamderber <hamderber@gmail.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# KevTerminal

How to add custom commands:

Define a function that has an args parameter with its default as None.
ex:
    def testcmd(args=None):
        print("test worked")

Add the command to the command_handler by using the build_commands function.
ex:
    command_handler.build_commands([
        command_handler.CommandObject(
            cmd_name='Test',
            cmd_type=command_handler.CommandType.Single,
            cmd_help='Test: Help',
            cmd_func=testcmd)
    ])
