Skip to content

CLI: Add aliases for help, version and path - #4276

Merged
nightnei merged 2 commits into
trunkfrom
addaliasesForHelpAndVersion
Jul 22, 2026
Merged

CLI: Add aliases for help, version and path #4276
nightnei merged 2 commits into
trunkfrom
addaliasesForHelpAndVersion

Conversation

@nightnei

@nightnei nightnei commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

How AI was used in this PR

AI assisted

Proposed Changes

All CLI tools have shortcuts as -h and -v. They're really useful, and it's a canonical way nowadays.
Alongside them, let's add -p for consistency, as this parameter is used in almost all commands, and I noticed that other CLI tools have shortcuts for frequently used commands.

Screenshot 2026-07-21 at 11 24 30 Screenshot 2026-07-21 at 11 25 13 Screenshot 2026-07-21 at 11 24 10

Testing Instructions

Visual review should suffice

@nightnei
nightnei requested a review from a team July 21, 2026 10:30
@nightnei nightnei self-assigned this Jul 21, 2026
@nightnei nightnei changed the title Add aliases for help and version Jul 21, 2026
@wpmobilebot

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing b1758e3 vs trunk

app-size

Metric trunk b1758e3 Diff Change
App Size (Mac) 1355.70 MB 1355.70 MB +0.00 MB ⚪ 0.0%

site-editor

Metric trunk b1758e3 Diff Change
load 1083 ms 739 ms 344 ms 🟢 -31.8%

site-startup

Metric trunk b1758e3 Diff Change
siteCreation 6488 ms 6504 ms +16 ms ⚪ 0.0%
siteStartup 2396 ms 2390 ms 6 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

@gcsecsey gcsecsey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 👍

@nightnei
nightnei merged commit 9e40783 into trunk Jul 22, 2026
16 checks passed
@nightnei
nightnei deleted the addaliasesForHelpAndVersion branch July 22, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants