File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
grace-shell/src/main/groovy/org/grails/cli/profile Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2014-2022 the original author or authors.
2+ * Copyright 2014-2024 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -21,7 +21,8 @@ import groovy.transform.CompileStatic
2121 * Represents argument to a command
2222 *
2323 * @author Graeme Rocher
24- * @since
24+ * @author Michael Yan
25+ * @since 4.0
2526 */
2627@CompileStatic
2728class CommandArgument {
@@ -31,11 +32,26 @@ class CommandArgument {
3132 */
3233 String name
3334
35+ /**
36+ * The type of the argument
37+ */
38+ String type
39+
3440 /**
3541 * The description of the argument
3642 */
3743 String description
3844
45+ /**
46+ * The aliases of the argument
47+ */
48+ String aliases
49+
50+ /**
51+ * The banner of the argument
52+ */
53+ String banner
54+
3955 /**
4056 * Whether the argument is required or not
4157 */
You can’t perform that action at this time.
0 commit comments