Files
clint/examples/get_each_args.py
T
2012-05-09 01:05:32 +05:30

14 lines
258 B
Python

#! /usr/bin/env python
# -*- coding: utf-8 -*-
from clint import args
from clint.textui import puts, colored
all_args = args.grouped
for item in all_args:
if item is not '_':
puts(colored.red("key:%s"%item))
print(all_args[item].all)