-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
…irectory
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ namespace roundhouse.console | |
using infrastructure.commandline.options; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Reflection; | ||
using System.Reflection; | ||
using log4net.Core; | ||
using log4net.Repository; | ||
using infrastructure.app.logging; | ||
|
@@ -169,6 +169,9 @@ private static void parse_arguments_and_set_up_configuration(ConfigurationProper | |
string.Format("PermissionsFolderName - The name of the folder where you keep your permissions scripts. Will recurse through subfolders. Defaults to \"{0}\".", | ||
ApplicationParameters.default_permissions_folder_name), | ||
option => configuration.PermissionsFolderName = option) | ||
.Add("pde=|perdirectoryexecution=", | ||
"PerDirectoryExecution - If scripts should executed per master directory (true) or all by each sub directory (false). Defaults to 'false'", | ||
option => configuration.PerMasterDirectoryExecution = option != null) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
siimv
Owner
|
||
// roundhouse items | ||
.Add("sc=|schema=|schemaname=", | ||
string.Format("SchemaName - This is the schema where RH stores it's tables. Once you set this a certain way, do not change this. This is definitely running with scissors and very sharp. I am allowing you to have flexibility, but because this is a knife you can still get cut if you use it wrong. I'm just saying. You've been warned. Defaults to \"{0}\".", | ||
|
@@ -286,6 +289,7 @@ private static void parse_arguments_and_set_up_configuration(ConfigurationProper | |
"/o[utputpath] VALUE " + | ||
"/w[arnononetimescriptchanges] " + | ||
"/silent " + | ||
"/pde[PerDirectoryExecution] " + | ||
"/d[atabase]t[ype] VALUE " + | ||
"/drop " + | ||
"/d[onot]c[reatedatabase] " + | ||
|
Interesting... this appears to be the idea that you get everything all at the same time including subdirectories to save on recursing through. Which is not a bad idea - I had thought about doing this myself. It could make for some interesting execution that is not entirely intuitive, so I like that it is opt in.