feat: provide the names via the tool builder
BREAKING CHANGE: Changed the API.
This commit is contained in:
parent
d60d32db19
commit
1f1d0a4d9f
3 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
* switch from RootCommand to Command to handle stripped executables ([e5e8777](https://gitlab.com/mfgames-cil/mfgames-toolbuilder-cil/commit/e5e87770f9cab293befb40a21bfef6d52022224b))
|
* switch from RootCommand to FakedRootCommand to handle stripped executables ([e5e8777](https://gitlab.com/mfgames-cil/mfgames-toolbuilder-cil/commit/e5e87770f9cab293befb40a21bfef6d52022224b))
|
||||||
|
|
||||||
## [1.0.2](https://gitlab.com/mfgames-cil/mfgames-toolbuilder-cil/compare/v1.0.1...v1.0.2) (2021-09-12)
|
## [1.0.2](https://gitlab.com/mfgames-cil/mfgames-toolbuilder-cil/compare/v1.0.1...v1.0.2) (2021-09-12)
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ namespace MfGames.ToolBuilder
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public string[] GetArguments()
|
public static string[] GetArguments()
|
||||||
{
|
{
|
||||||
string[] args = Environment.GetCommandLineArgs();
|
string[] args = Environment.GetCommandLineArgs();
|
||||||
|
|
||||||
|
|
|
@ -127,7 +127,7 @@ namespace MfGames.ToolBuilder
|
||||||
{
|
{
|
||||||
// Build the command tree.
|
// Build the command tree.
|
||||||
FakedRootCommand root = this.CreateRootCommand();
|
FakedRootCommand root = this.CreateRootCommand();
|
||||||
string[] args = root.GetArguments();
|
string[] args = FakedRootCommand.GetArguments();
|
||||||
|
|
||||||
// Execute the command.
|
// Execute the command.
|
||||||
this.logger.Verbose(
|
this.logger.Verbose(
|
||||||
|
|
Reference in a new issue