Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"type": "module",
"bin": {
"patternfly-cli": "./dist/cli.js",
"pf": "./dist/cli.js"
"pfcli": "./dist/cli.js"
},
"scripts": {
"build": "tsc",
Expand Down
4 changes: 2 additions & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ main() {
printf 'To see available commands, run the CLI with:\n'
printf ' patternfly-cli --help\n'
printf '\n'
printf 'alternatively you can use the alias "pf" instead of "pattenfly-cli"\n'
printf 'alternatively you can use the alias "pfcli" instead of "pattenfly-cli"\n'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix typo in installer output string.

Line 251 says pattenfly-cli (missing r). This is user-facing install guidance and should be corrected.

Suggested fix
-  printf 'alternatively you can use the alias "pfcli" instead of "pattenfly-cli"\n'
+  printf 'Alternatively, you can use the alias "pfcli" instead of "patternfly-cli"\n'
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
printf 'alternatively you can use the alias "pfcli" instead of "pattenfly-cli"\n'
printf 'Alternatively, you can use the alias "pfcli" instead of "patternfly-cli"\n'
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@scripts/install.sh` at line 251, The installer output contains a typo in the
printf string: it prints "pattenfly-cli" instead of the correct
"patternfly-cli"; update the printf call that emits 'alternatively you can use
the alias "pfcli" instead of "pattenfly-cli"' to use the correct product name
"patternfly-cli" so user-facing guidance is accurate.

printf '\n'
printf ' pf --help\n'
printf ' pfcli --help\n'
printf '\n'
printf 'SUCCESS: PatternFly CLI is installed.\n'
printf '\n'
Expand Down
Loading