mirror of
https://github.com/kennethreitz-archive/python-build.git
synced 2026-06-05 15:20:16 +00:00
14 lines
310 B
Python
14 lines
310 B
Python
from pythonbrew.basecommand import Command
|
|
from pythonbrew.define import VERSION
|
|
from pythonbrew.log import logger
|
|
|
|
class VersionCommand(Command):
|
|
name = "version"
|
|
usage = "%prog"
|
|
summary = "Show version"
|
|
|
|
def run_command(self, options, args):
|
|
logger.log(VERSION)
|
|
|
|
VersionCommand()
|