-
Notifications
You must be signed in to change notification settings - Fork 679
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add list-features, --enable-features, & --disable-features (#93)
* Add list-features, --enable-features, & --disable-features * Update command description to include full name (GitHub Actions Importer) Co-authored-by: Ethan Dennis <[email protected]> * Fix typo in enable features option --------- Co-authored-by: Ethan Dennis <[email protected]>
- Loading branch information
Showing
3 changed files
with
37 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System.Collections.Immutable; | ||
using System.CommandLine; | ||
|
||
namespace ActionsImporter.Commands; | ||
|
||
public class ListFeatures : ContainerCommand | ||
{ | ||
public ListFeatures(string[] args) : base(args) | ||
{ | ||
} | ||
|
||
protected override string Name => "list-features"; | ||
protected override string Description => "List the available feature flags for GitHub Actions Importer."; | ||
|
||
protected override ImmutableArray<Option> Options => ImmutableArray.Create<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