Skip to content

Commit

Permalink
chore!(install): remove -p alias
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrocp committed Feb 11, 2025
1 parent 3dd9fd6 commit ffd6b13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

### Breaking Changes
- Require minimum `:igniter` v0.5
- `beacon_live_admin.install` - removed command alias `-p`

## 0.3.1 (2024-12-12)

Expand Down
5 changes: 2 additions & 3 deletions lib/mix/tasks/beacon_live_admin.install.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if Code.ensure_loaded?(Igniter) do
## Options
* `--path` or `-p` (optional, defaults to "/") - Where admin will be mounted. Follows the same convention as Phoenix route prefixes.
* `--path` (optional, defaults to "/admin") - Where admin will be mounted. Follows the same convention as Phoenix route prefixes.
"""

Expand All @@ -30,7 +30,6 @@ if Code.ensure_loaded?(Igniter) do
group: :beacon_live_admin,
example: @example,
schema: [path: :string],
aliases: [p: :path],
defaults: [path: "/admin"],
required: [:path]
}
Expand Down Expand Up @@ -64,7 +63,7 @@ if Code.ensure_loaded?(Igniter) do
mix beacon_live_admin.install expects a valid path, for example:
mix beacon_live_admin.install ----path /admin
mix beacon_live_admin.install --path /admin
Got:
Expand Down

0 comments on commit ffd6b13

Please sign in to comment.