-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
98116a7
commit da36ae8
Showing
3 changed files
with
31 additions
and
25 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,30 @@ | ||
static partial class Commands | ||
{ | ||
public const string DocUsageMonorepo = | ||
@"Usage: | ||
okunity mr apply [options] [FEATURE...] | ||
Description: | ||
Update git sparse checkout by enabling each selected FEATURE in `mr.yaml`. | ||
Options: | ||
--config CONFIG The path to the monorepo config file; if filename-only, will search up to the repo root [default: mr.yaml] | ||
--show-spec Print the spec that would be used to update the sparse checkout | ||
-n --dry-run Don't actually do anything, just print what would be done | ||
"; | ||
|
||
public static CliExitCode RunMonorepo(CommandContext context) | ||
{ | ||
if (context.CommandLine["apply"].IsTrue) | ||
{ | ||
//var config = context.GetConfigString("config"); | ||
} | ||
|
||
// shouldn't get here | ||
return CliExitCode.ErrorUsage; | ||
} | ||
} | ||
|
||
class MonorepoSpec | ||
{ | ||
} |
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