Commits

Tarek Ziadé committed 87afa2e

added a create action

Comments (0)

Files changed (1)

distutils2/run.py

     remove(options.remove)
     return 0
 
+def _create(distpatcher, args, **kw):
+    from distutils2.mkcfg import main
+    main()
+    return 0
+
 
 actions = [('run', 'Run one or several commands', _run),
            ('metadata', 'Display the metadata of a project', _metadata),
            ('install', 'Install a project', _install),
            ('remove', 'Remove a project', _remove),
            ('search', 'Search for a project', _search),
-           ('graph', 'Display a graph', _graph),]
+           ('graph', 'Display a graph', _graph),
+           ('create', 'Create a Project', _create),]
+