Skip to content

Commit 34640fa

Browse files
authored
fix: update command aliases for consistency and clarity (#82)
1 parent 7c8d162 commit 34640fa

File tree

6 files changed

+17
-15
lines changed

6 files changed

+17
-15
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Please ensure that your Magento installation meets this requirement before insta
2121
| Theme Type | Support Status |
2222
| ------------------------------- | ---------------------------------------------------------- |
2323
| 🎯 Magento Standard | ✅ Fully Supported |
24-
| 🚀 Hyvä | ✅ Fully Supported |
24+
| 🚀 Hyvä (TailwindCSS 3.x / 4.x) | ✅ Fully Supported |
2525
| 🔄 Hyvä Fallback | ✅ Fully Supported |
2626
| 🎨 Custom TailwindCSS (no Hyvä) | ✅ Fully Supported |
2727
| 💼 Avanta B2B | ✅ Fully Supported |
@@ -31,16 +31,16 @@ Please ensure that your Magento installation meets this requirement before insta
3131

3232
### Available Commands
3333

34-
| Command | Description | Shortcodes |
34+
| Command | Description | Aliases |
3535
| ----------------------------------- | --------------------------------------------------------- | ------------------------- |
36-
| `mageforge:system:version` | Shows current and latest version of the module | `m:s:v` |
37-
| `mageforge:system:check` | Get system information (OS, PHP, Database, Node.js, etc.) | `m:s:c` |
38-
| `mageforge:theme:list` | Lists all available themes | `m:t:l` |
39-
| `mageforge:theme:build` | Builds selected themes (CSS/TailwindCSS) | `m:t:b`, `frontend:build` |
40-
| `mageforge:theme:watch` | Starts watch mode for theme development | `m:t:w`, `frontend:watch` |
41-
| `mageforge:hyva:tokens` | Generate Hyvä design tokens (Hyvä themes only) | `m:h:t` |
42-
| `mageforge:hyva:compatibility:check`| Check modules for Hyvä theme compatibility issues | `m:h:c:c`, `hyva:check` |
43-
| `mageforge:theme:clean` | Clean theme static files and cache directories | `m:t:c`, `frontend:clean` |
36+
| `mageforge:theme:list` | Lists all available themes | `frontend:list` |
37+
| `mageforge:theme:build` | Builds selected themes (CSS/TailwindCSS) | `frontend:build` |
38+
| `mageforge:theme:watch` | Starts watch mode for theme development | `frontend:watch` |
39+
| `mageforge:theme:clean` | Clean theme static files and cache directories | `frontend:clean` |
40+
| `mageforge:hyva:compatibility:check`| Check modules for Hyvä theme compatibility issues | `hyva:check` |
41+
| `mageforge:hyva:tokens` | Generate Hyvä design tokens (Hyvä themes only) | `hyva:tokens` |
42+
| `mageforge:system:version` | Shows current and latest version of the module | `system:version` |
43+
| `mageforge:system:check` | Get system information (OS, PHP, Database, Node.js, etc.) | `system:check` |
4444

4545
---
4646

src/Console/Command/Hyva/CompatibilityCheckCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function configure(): void
4747
{
4848
$this->setName($this->getCommandName('hyva', 'compatibility:check'))
4949
->setDescription('Check modules for Hyvä theme compatibility issues')
50-
->setAliases(['m:h:c:c', 'hyva:check'])
50+
->setAliases(['hyva:check'])
5151
->addOption(
5252
self::OPTION_SHOW_ALL,
5353
'a',

src/Console/Command/System/CheckCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ public function __construct(
3737
protected function configure(): void
3838
{
3939
$this->setName($this->getCommandName('system', 'check'))
40-
->setDescription('Displays system information like PHP version and Node.js version');
40+
->setDescription('Displays system information like PHP version and Node.js version')
41+
->setAliases(['system:check']);
4142
}
4243

4344
/**

src/Console/Command/System/VersionCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ public function __construct(
3535
protected function configure(): void
3636
{
3737
$this->setName($this->getCommandName('system', 'version'))
38-
->setDescription('Displays the module version and the latest version');
38+
->setDescription('Displays the module version and the latest version')
39+
->setAliases(['system:version']);
3940
}
4041

4142
/**

src/Console/Command/Theme/CleanCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ protected function configure(): void
6565
InputOption::VALUE_NONE,
6666
'Show what would be cleaned without actually deleting anything'
6767
)
68-
->setAliases(['m:t:c', 'frontend:clean']);
68+
->setAliases(['frontend:clean']);
6969
}
7070

7171
/**

src/Console/Command/Theme/TokensCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct(
4747
protected function configure(): void
4848
{
4949
$this->setName($this->getCommandName('hyva', 'tokens'))
50-
->setAliases(['m:h:t'])
50+
->setAliases(['hyva:tokens'])
5151
->setDescription('Generate Hyvä design tokens from design.tokens.json or hyva.config.json')
5252
->addArgument(
5353
'themeCode',

0 commit comments

Comments
 (0)