Skip to content

Commit

Permalink
feat: add user-friendly info to --help (#884)
Browse files Browse the repository at this point in the history
* feat: add user-friendly info to --help

* feat: remove ascii art from --help welcome message

* undo package-lock changes

* bump commander

* 💄

---------

Co-authored-by: João Moreno <[email protected]>
  • Loading branch information
bandantonio and joaomoreno authored Aug 30, 2023
1 parent a4f0bf3 commit 986df2b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vscode/vsce",
"version": "2.20.1",
"description": "VSCode Extension Manager",
"description": "VS Code Extensions Manager",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vsce"
Expand Down Expand Up @@ -41,7 +41,7 @@
"azure-devops-node-api": "^11.0.1",
"chalk": "^2.4.2",
"cheerio": "^1.0.0-rc.9",
"commander": "^6.1.0",
"commander": "^6.2.1",
"glob": "^7.0.6",
"hosted-git-info": "^4.0.2",
"jsonc-parser": "^3.2.0",
Expand Down
4 changes: 4 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,5 +320,9 @@ Unknown command '${cmd}'`;
process.exit(1);
});

program.description(`${pkg.description}
To learn more about the VS Code extension API: https://aka.ms/vscode-extension-api
To connect with the VS Code extension developer community: https://aka.ms/vscode-discussions`);

program.parse(argv);
};

0 comments on commit 986df2b

Please sign in to comment.