Allow setting SVN URL from setup_for_attract CLI command
This commit is contained in:
@@ -12,7 +12,8 @@ log = logging.getLogger(__name__)
|
||||
|
||||
@manager.command
|
||||
@manager.option('-r', '--replace', dest='replace', action='store_true', default=False)
|
||||
def setup_for_attract(project_url, replace=False):
|
||||
@manager.option('-s', '--svn', dest='svn_url', nargs='?')
|
||||
def setup_for_attract(project_url, replace=False, svn_url=None):
|
||||
"""Adds Attract node types to the project.
|
||||
|
||||
Use --replace to replace pre-existing Attract node types
|
||||
@@ -20,4 +21,4 @@ def setup_for_attract(project_url, replace=False):
|
||||
"""
|
||||
|
||||
authentication.force_cli_user()
|
||||
attract.setup.setup_for_attract(project_url, replace=replace)
|
||||
attract.setup.setup_for_attract(project_url, replace=replace, svn_url=svn_url)
|
||||
|
Reference in New Issue
Block a user