Skip to content

Commit

Permalink
Add new properties to CommandArgument: type aliases banner
Browse files Browse the repository at this point in the history
Closes gh-764
  • Loading branch information
rainboyan committed Nov 28, 2024
1 parent 5c3554b commit 454800d
Showing 1 changed file with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2014-2022 the original author or authors.
* Copyright 2014-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -21,7 +21,8 @@ import groovy.transform.CompileStatic
* Represents argument to a command
*
* @author Graeme Rocher
* @since
* @author Michael Yan
* @since 4.0
*/
@CompileStatic
class CommandArgument {
Expand All @@ -31,11 +32,26 @@ class CommandArgument {
*/
String name

/**
* The type of the argument
*/
String type

/**
* The description of the argument
*/
String description

/**
* The aliases of the argument
*/
String aliases

/**
* The banner of the argument
*/
String banner

/**
* Whether the argument is required or not
*/
Expand Down

0 comments on commit 454800d

Please sign in to comment.