This file is indexed.

/usr/lib/python2.7/dist-packages/commando-0.3.4.egg-info/PKG-INFO is in python-commando 0.3.4-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Metadata-Version: 1.1
Name: commando
Version: 0.3.4
Summary: A declarative interface to argparse with additional utilities
Home-page: http://github.com/lakshmivyas/commando
Author: Lakshmi Vyas
Author-email: lakshmi.vyas@gmail.com
License: MIT
Description: ============================
        commando - argparse in style
        ============================
        
        **Version 0.3.4**
        
        A simple wrapper for ``argparse`` that allows commands and arguments
        to be defined declaratively using decorators. Note that this does
        not support all the features of ``argparse`` yet.
        
        Commando also bundles a few utilities that are useful when building
        command line applications.
        
        Example
        --------
        
        Without commando::
        
        
            def main():
                parser = argparse.ArgumentParser(description='hyde - a python static website generator',
                                              epilog='Use %(prog)s {command} -h to get help on individual commands')
                parser.add_argument('-v', '--version', action='version', version='%(prog)s ' + __version__)
                parser.add_argument('-s', '--sitepath', action='store', default='.', help="Location of the hyde site")
                subcommands = parser.add_subparsers(title="Hyde commands",
                                                 description="Entry points for hyde")
                init_command = subcommands.add_parser('init', help='Create a new hyde site')
                init_command.set_defaults(run=init)
                init_command.add_argument('-t', '--template', action='store', default='basic', dest='template',
                                 help='Overwrite the current site if it exists')
                init_command.add_argument('-f', '--force', action='store_true', default=False, dest='force',
                                 help='Overwrite the current site if it exists')
                args = parser.parse_args()
                args.run(args)
        
            def init(self, params):
                print params.sitepath
                print params.template
                print params.overwrite
        
        
        With commando::
        
        
            class Engine(Application):
        
                @command(description='hyde - a python static website generator',
                        epilog='Use %(prog)s {command} -h to get help on individual commands')
                @param('-v', '--version', action='version', version='%(prog)s ' + __version__)
                @param('-s', '--sitepath', action='store', default='.', help="Location of the hyde site")
                def main(self, params): pass
        
                @subcommand('init', help='Create a new hyde site')
                @param('-t', '--template', action='store', default='basic', dest='template',
                        help='Overwrite the current site if it exists')
                @param('-f', '--force', action='store_true', default=False, dest='overwrite',
                        help='Overwrite the current site if it exists')
                def init(self, params):
                    print params.sitepath
                    print params.template
                    print params.overwrite
        
        Resources
        ---------
        
        1.  `Changelog`_
        2.  `License`_
        3.  `Contributing`_
        4.  `Authors`_
        
        
        .. _Changelog: CHANGELOG.rst
        .. _LICENSE: LICENSE
        .. _Contributing: CONTRIBUTING.rst
        .. _Authors: AUTHORS.rst
        
        
Keywords: argparse commandline utility
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: User Interfaces
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires: python (>= 2.7)
Provides: commando