-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for publishing a simple ReactJS Diagrams Visualiser site
- Loading branch information
1 parent
90435ab
commit 49d19a0
Showing
15 changed files
with
132 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
C4InterFlow/Cli/Commands/Options/SiteContentSubDirectoriesOption.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System.CommandLine; | ||
|
||
namespace C4InterFlow.Cli.Commands.Options; | ||
|
||
public static class SiteContentSubDirectoriesOption | ||
{ | ||
public static Option<string[]> Get() | ||
{ | ||
const string description = | ||
$"The sub-directories where site content can be found."; | ||
|
||
var option = new Option<string[]>(new[] { "--site-content-sub-dirs", "-scsds" }, description) | ||
{ | ||
AllowMultipleArgumentsPerToken = true | ||
}; | ||
option.IsRequired = true; | ||
|
||
return option; | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
C4InterFlow/Cli/Commands/Options/SiteNoSitemapSubDirectoriesOption.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System.CommandLine; | ||
|
||
namespace C4InterFlow.Cli.Commands.Options; | ||
|
||
public static class SiteNoSitemapSubDirectoriesOption | ||
{ | ||
public static Option<string[]> Get() | ||
{ | ||
const string description = | ||
$"The sub-directories that shoud be excluded from a sitemap."; | ||
|
||
var option = new Option<string[]>(new[] { "--site-no-sitemap-sub-dirs", "-snssds" }, description) | ||
{ | ||
AllowMultipleArgumentsPerToken = true | ||
}; | ||
option.SetDefaultValue(null); | ||
|
||
return option; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
@echo off | ||
call npm install | ||
call npm run build | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters