Skip to content

Commit

Permalink
fix(documentator): missed artisan prefix for command usages (`lara-…
Browse files Browse the repository at this point in the history
…asp-documentator:commands`).
  • Loading branch information
LastDragon-ru committed Oct 19, 2023
1 parent 0d2bd41 commit cfc9973
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
## Usages

@foreach(array_merge([$command->getSynopsis()], $command->getAliases(), $command->getUsages()) as $usage)
* `{!! $usage !!}`
* `artisan {!! $usage !!}`
@endforeach
@if($command->getDescription() !== ($help = $command->getProcessedHelp()))

Expand Down
2 changes: 1 addition & 1 deletion packages/documentator/docs/commands/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Saves help for each command in the `namespace` into a separate file in the `targ

## Usages

* `lara-asp-documentator:commands [--defaults] [--] <namespace> <target>`
* `artisan lara-asp-documentator:commands [--defaults] [--] <namespace> <target>`

## Arguments

Expand Down
2 changes: 1 addition & 1 deletion packages/documentator/docs/commands/preprocess.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Preprocess Markdown files.

## Usages

* `lara-asp-documentator:preprocess [<path>]`
* `artisan lara-asp-documentator:preprocess [<path>]`

## Description

Expand Down
2 changes: 1 addition & 1 deletion packages/documentator/docs/commands/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Generates a table with the required versions of PHP/Laravel in Markdown format.

## Usages

* `lara-asp-documentator:requirements [<cwd>]`
* `artisan lara-asp-documentator:requirements [<cwd>]`

## Description

Expand Down
2 changes: 1 addition & 1 deletion packages/documentator/src/Commands/CommandsTest~a.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Usages

* `test-namespace:command-a [-a|--option-a] [--option-b [OPTION-B]] [--] <arg-a> [<arg-b>]`
* `artisan test-namespace:command-a [-a|--option-a] [--option-b [OPTION-B]] [--] <arg-a> [<arg-b>]`

## Arguments

Expand Down
4 changes: 2 additions & 2 deletions packages/documentator/src/Commands/CommandsTest~b.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ Command B description.

## Usages

* `test-namespace:command-b`
* `command-b-alias`
* `artisan test-namespace:command-b`
* `artisan command-b-alias`
2 changes: 1 addition & 1 deletion packages/graphql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Probably the most powerful directive to provide search (`where` conditions) for

[Read more](<docs/Directives/@searchBy.md>).

## `@sortBy` directive
## `@sortBy`

Probably the most powerful directive to provide sort (`order by` conditions) for your GraphQL queries.

Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/docs/Directives/@sortBy.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `@sortBy` directive
# `@sortBy`

Probably the most powerful directive to provide sort (`order by` conditions) for your GraphQL queries.

Expand Down
2 changes: 1 addition & 1 deletion packages/migrator/docs/commands/raw-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Create a new migration file

## Usages

* `lara-asp-migrator:raw-migration [--create [CREATE]] [--table [TABLE]] [--path [PATH]] [--realpath] [--fullpath] [--] <name>`
* `artisan lara-asp-migrator:raw-migration [--create [CREATE]] [--table [TABLE]] [--path [PATH]] [--realpath] [--fullpath] [--] <name>`

## Arguments

Expand Down
2 changes: 1 addition & 1 deletion packages/migrator/docs/commands/raw-seeder.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Create a new seeder class

## Usages

* `lara-asp-migrator:raw-seeder <name>`
* `artisan lara-asp-migrator:raw-seeder <name>`

## Arguments

Expand Down

0 comments on commit cfc9973

Please sign in to comment.