How to create package that can open cmd in windows 10 from atom


Hello, I am new to the atom and currently enjoying to use it.
I am using the atom to write java codes, not javascript (I do not know anything about javascript…) by writing the code in the atom and compiling it in sperate cmd in windows 10(javac). However, this steps bothers me…
And as I see many packages I saw that you can use the shortcut like for example, a package called “script”'s “script run” by using control palette.
So the question is:
Can you make a package that can work like the example which opens cmd prompt??


What about a package like termination?