Files
clint/examples/get_each_args.py
T
2014-01-10 17:45:05 +00:00

14 lines
270 B
Python
Executable File

#! /usr/bin/env python
# -*- coding: utf-8 -*-
from clint.arguments 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)