mirror of
https://github.com/kennethreitz/clint.git
synced 2026-06-05 06:46:16 +00:00
@@ -1,6 +1,11 @@
|
|||||||
#! /usr/bin/env python
|
#! /usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
import sys
|
||||||
|
import os
|
||||||
|
|
||||||
|
sys.path.insert(0, os.path.abspath('..'))
|
||||||
|
|
||||||
from clint.arguments import Args
|
from clint.arguments import Args
|
||||||
from clint.textui import puts, colored
|
from clint.textui import puts, colored
|
||||||
|
|
||||||
@@ -8,6 +13,6 @@ all_args = Args().grouped
|
|||||||
|
|
||||||
for item in all_args:
|
for item in all_args:
|
||||||
if item is not '_':
|
if item is not '_':
|
||||||
puts(colored.red("key:%s"%item))
|
puts(colored.red("key:%s" % item))
|
||||||
print(all_args[item].all)
|
print(all_args[item].all)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user