Skip to content

Creating a New Command

Josh Chandler edited this page Oct 2, 2018 · 2 revisions

How to create a new command

To create a new command:

  1. Clone this repository with git clone https://github.com/ccowmu/ccawmunity.git.
  2. Create a new branch for your command with git checkout -b <name of your new branch>.
  3. Create a python file called <your new command>.py in the commandcenter/commands directory.
  4. Inside the new python file, create a custom command class that inherits from the Command parent class in the command module. If you don't know what that means, don't worry, just check out the template file and follow its structure. Check the commands page for more details on what your command class should look like.
  5. When you're done, submit a pull request. Be sure to include what your command does within the pull request information.
Clone this wiki locally