mirror of
https://github.com/kennethreitz/clint.git
synced 2026-06-05 06:46:16 +00:00
19 lines
337 B
Python
Executable File
19 lines
337 B
Python
Executable File
#! /usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import sys
|
|
import os
|
|
|
|
sys.path.insert(0, os.path.abspath('..'))
|
|
|
|
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)
|
|
|