Skip to content

Commit ba00a84

Browse files
authored
chore(cli): show global options in wing cli (#4025)
Closes #3181 *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
1 parent c0b77ca commit ba00a84

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

apps/wing/src/cli.ts

+5
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ async function main() {
7070

7171
const program = new Command();
7272

73+
program.configureHelp({
74+
sortOptions: true,
75+
showGlobalOptions: true,
76+
});
77+
7378
program.name("wing").version(PACKAGE_VERSION);
7479

7580
program

0 commit comments

Comments
 (0)