-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #133 from perfectsense/feature/picocli
Picocli implementation
- Loading branch information
Showing
19 changed files
with
217 additions
and
157 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
26 changes: 26 additions & 0 deletions
26
src/main/java/gyro/azure/keyvault/AzureKeyVaultCommand.java
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,26 @@ | ||
package gyro.azure.keyvault; | ||
|
||
import gyro.core.command.GyroCommandGroup; | ||
import picocli.CommandLine; | ||
|
||
@CommandLine.Command(name = "key-vault", | ||
description = "Manage azure key-vault secrets, keys and certificates.", | ||
synopsisHeading = "%n", | ||
header = "Add, remove, or list certificates and secrets of key-vault.", | ||
descriptionHeading = "%nDescription:%n%n", | ||
parameterListHeading = "%nParameters:%n", | ||
optionListHeading = "%nOptions:%n", | ||
commandListHeading = "%nCommands:%n", | ||
usageHelpWidth = 100, | ||
subcommands = { | ||
AddVaultCertificateCommand.class, | ||
AddVaultSecretCommand.class, | ||
ListVaultCertificateCommand.class, | ||
ListVaultSecretCommand.class, | ||
RemoveVaultCertificateCommand.class, | ||
RemoveVaultSecretCommand.class | ||
} | ||
) | ||
public class AzureKeyVaultCommand implements GyroCommandGroup { | ||
|
||
} |
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
Oops, something went wrong.