Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #171 from hvnsweeting/master
Browse files Browse the repository at this point in the history
Fix an example
  • Loading branch information
kennethreitz committed Aug 29, 2017
2 parents 2698af1 + d0fe6df commit 3b77ef3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/get_each_args.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
#! /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))
puts(colored.red("key:%s" % item))
print(all_args[item].all)

0 comments on commit 3b77ef3

Please sign in to comment.