Metadata-Version: 1.1
Name: pyramid-command
Version: 0.1
Summary: Console commands manager for Pyramid framework
Home-page: UNKNOWN
Author: UNKNOWN
Author-email: UNKNOWN
License: UNKNOWN
Description: pyramid_command
        ===========
        
        Console commands manager for Pyramid framework
        
        usage
        ======
        
        install package
        
        Write your console commands.
        For example in myproject/console.py:
        
            from pyramid_command import Command
            
            class MyCmd(Command):
        
                name = "my_cmd"
                description = "My usefull command"
        
                args = (
                            ("echo", {"help":"echo the string you use here"}),
                            (("-f", "--file"), {"help":"file"}),
                        )
        
                def run(self, echo='dd', file=None):
                    print self.name, "runs", echo, file
        
        
        Then configure where to search your commands.
        For example in development.ini:
        
                [app:main]
                use = egg:myproject
                ...
                ...
                console_commands = myproject.console
        
        
        Now run:
        
            >>>pcommand development.ini my_cmd echoval
        
        
        
        
        CHANGES.txt
Keywords: web pyramid console
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Framework :: Pyramid
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
