-
Describe the bug To Reproduce dotnet build -v:m -c Release ./App.SqlMigrations -o ./publish \
&& echo "Running SQL migrations..." \
&& DOTNET_ROLL_FORWARD=LatestMajor dotnet fm migrate -p mysql5 \
-a "./publish/App.SqlMigrations.dll" \
-c "$connString" \
-t "Tag1" \
-t "Tag2" Expected behavior Information (please complete the following information):
Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
-t | --tag is an IEnumerable and takes a space-separated list of arguments after the initial parameter name, i.e., We use Nate McMaster's Command Line library, for which you can read here: https://natemcmaster.github.io/CommandLineUtils/docs/arguments.html#variable-numbers-of-arguments Note, it is unfortunate the longform name of the parameter is just --tag, it should really be --tags. Happy to accept a PR to the fluentmigrator/documentation repo to provide examples. |
Beta Was this translation helpful? Give feedback.
-t | --tag is an IEnumerable and takes a space-separated list of arguments after the initial parameter name, i.e.,
-t Tag1 Tag2
fluentmigrator/src/FluentMigrator.DotNet.Cli/Commands/MigrationCommand.cs
Line 44 in 5fa7ce2
We use Nate McMaster's Command Line library, for which you can read here: https://natemcmaster.github.io/CommandLineUtils/docs/arguments.html#variable-numbers-of-arguments
Note, it is unfortunate the longform name of the parameter is just --tag, it should really be --tags. Happy to accept a PR to the fluentmigrator/documentation repo to provide examples.