-
-
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.
Add support for viewing diagrams in GitHub pages (#80)
- Loading branch information
Showing
47 changed files
with
18,953 additions
and
32 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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System.CommandLine; | ||
|
||
namespace C4InterFlow.Cli.Commands.Options; | ||
|
||
public static class BatchFileOption | ||
{ | ||
public static Option<string> Get() | ||
{ | ||
const string description = | ||
$"The path to .bat (batch) file to be executed by the command"; | ||
|
||
var option = new Option<string>(new[] { "--batch-file", "-bf" }, description); | ||
|
||
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
21 changes: 21 additions & 0 deletions
21
C4InterFlow/Cli/Commands/Options/EnvironmentVariablesOption.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,21 @@ | ||
using System.CommandLine; | ||
using System.CommandLine.Parsing; | ||
|
||
namespace C4InterFlow.Cli.Commands.Options; | ||
|
||
public static class EnvironmentVariablesOption | ||
{ | ||
public static Option<string[]> Get() | ||
{ | ||
const string description = | ||
"The expressions to be used to set environment variables before external batch file is executed e.g. SOME_VARIABLE=some-value."; | ||
|
||
var option = new Option<string[]>(new[] { "--environment-variables", "-ev" }, 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
16 changes: 16 additions & 0 deletions
16
C4InterFlow/Cli/Commands/Options/SiteBuildDirectoryOption.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,16 @@ | ||
using System.CommandLine; | ||
|
||
namespace C4InterFlow.Cli.Commands.Options; | ||
|
||
public static class SiteBuildDirectoryOption | ||
{ | ||
public static Option<string> Get() | ||
{ | ||
const string description = | ||
$"The directory where built site can be found"; | ||
|
||
var option = new Option<string>(new[] { "--site-build-dir", "-sbd" }, description); | ||
|
||
return option; | ||
} | ||
} |
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; | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
C4InterFlow/Cli/Commands/Options/SiteSourceDirectoryOption.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,19 @@ | ||
using System.CommandLine; | ||
|
||
namespace C4InterFlow.Cli.Commands.Options; | ||
|
||
public static class SiteSourceDirectoryOption | ||
{ | ||
public static Option<string> Get() | ||
{ | ||
const string description = | ||
$"The directory where site source can be found"; | ||
|
||
var option = new Option<string>(new[] { "--site-source-dir", "-ssd" }, description) | ||
{ | ||
IsRequired = true | ||
}; | ||
|
||
return option; | ||
} | ||
} |
Oops, something went wrong.