Information about the package, python-cmdln, which is shipped with common Linux distributions. The python-cmdln package is designed for, An improved cmd.py for Writing Multi-command Scripts and Shells.
Package Name:
python-cmdln
Summary:
An improved cmd.py for Writing Multi-command Scripts and Shells
Description:
`cmdln.py` is an extension of Python's default `cmd.py` module that provides "a simple framework for writing line-oriented command interpreters". The idea (with both cmd.py and cmdln.py) is to be able to quickly build multi-sub-command tools (think cvs or svn) and/or simple interactive shells (think gdb or pdb). Cmdln's extensions make it more natural to write sub-commands, integrate optparse for simple option processing, and make having good command documentation easier.
Architecture:
noarch
Version:
1.3.0
Release:
2.el6
Size:
34 k
Repository:
epel
From Repository:
Licence:
MIT
Control the python-cmdln package with the following handy commands outlined below.
yum install python-cmdln
This command will install python-cmdln on the server.
yum remove python-cmdln
This command will un-install python-cmdln on the server. When you run this command, you will be asked if you are sure that you want to remove python-cmdln, so you have to manually confirm that you want to do this.
yum -y remove python-cmdln
This command will un-install python-cmdln on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-cmdln when using the -y flag.
yum update python-cmdln
This command will update python-cmdln to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-cmdln, so you have to manually confirm that you want to do this.
yum -y update python-cmdln
This command will update python-cmdln to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-cmdln when using the -y flag.
yum info python-cmdln
This command will show you core information about the python-cmdln package.
yum deplist python-cmdln
This command will show you the dependencies for python-cmdln. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update python-cmdln
This command will check if there is an update waiting on python-cmdln. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.