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

Fix an example #171

Merged
merged 2 commits into from
Aug 29, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)