diff --git a/cmf-cli/Commands/publish/PublishCommand.cs b/cmf-cli/Commands/assemble/AssembleCommand.cs
similarity index 97%
rename from cmf-cli/Commands/publish/PublishCommand.cs
rename to cmf-cli/Commands/assemble/AssembleCommand.cs
index bb308ebe..aa3ff08b 100644
--- a/cmf-cli/Commands/publish/PublishCommand.cs
+++ b/cmf-cli/Commands/assemble/AssembleCommand.cs
@@ -1,16 +1,12 @@
using Cmf.Common.Cli.Attributes;
using Cmf.Common.Cli.Constants;
-using Cmf.Common.Cli.Factories;
-using Cmf.Common.Cli.Interfaces;
using Cmf.Common.Cli.Objects;
using Cmf.Common.Cli.Utilities;
using System;
using System.Collections.Generic;
using System.CommandLine;
using System.CommandLine.Invocation;
-using System.IO;
-using System.IO.Abstractions;
-using System.IO.Compression;
+using System.IO.Abstractions;
using System.Linq;
using System.Xml.Linq;
@@ -20,8 +16,8 @@ namespace Cmf.Common.Cli.Commands
///
///
///
- [CmfCommand("publish")]
- public class PublishCommand : BaseCommand
+ [CmfCommand("assemble")]
+ public class AssembleCommand : BaseCommand
{
#region Private Methods
@@ -119,6 +115,7 @@ private void PublishPackageToOutput(IDirectoryInfo outputDir, Uri repoUri, strin
}
#endregion
+
///
/// Configure command
///
@@ -127,16 +124,16 @@ public override void Configure(Command cmd)
{
cmd.AddArgument(new Argument(
name: "workingDir",
- parse: (argResult) => Parse(argResult, "."),
- isDefault: true
- )
- {
- Description = "Working Directory"
+ parse: (argResult) => Parse(argResult, "."),
+ isDefault: true
+ )
+ {
+ Description = "Working Directory"
});
cmd.AddOption(new Option(
aliases: new string[] { "-o", "--outputDir" },
- parseArgument: argResult => Parse(argResult, "Package"),
+ parseArgument: argResult => Parse(argResult, "Package"),
isDefault: true,
description: "Output directory for created package"));
@@ -192,7 +189,7 @@ public void Execute(CmfPackage cmfPackage, IDirectoryInfo outputDir, Uri repoUri
{
return;
}
-
+
if (publishTests)
{
IDirectoryInfo outputTestDir = this.fileSystem.DirectoryInfo.FromDirectoryName(outputDir + "/Tests");
@@ -206,7 +203,6 @@ public void Execute(CmfPackage cmfPackage, IDirectoryInfo outputDir, Uri repoUri
try
{
-
List loadedPackages = new List();
// Get Local Package.