Skip to content

Commit

Permalink
fix: description of --api and --resource flags
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Feb 20, 2024
1 parent 8848191 commit d83e970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/make/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ export default class MakeController extends BaseCommand {
declare singular: boolean

@flags.boolean({
description: 'Generate resourceful controller with the "edit" and the "create" methods',
description: 'Generate resourceful controller with methods to perform CRUD actions on a resource',

Check failure on line 34 in commands/make/controller.ts

View workflow job for this annotation

GitHub Actions / lint / lint

Insert `⏎·····`

Check failure on line 34 in commands/make/controller.ts

View workflow job for this annotation

GitHub Actions / test / test_linux (20.10.0)

Insert `⏎·····`

Check failure on line 34 in commands/make/controller.ts

View workflow job for this annotation

GitHub Actions / test / test_windows (20.10.0)

Insert `␍⏎·····`

Check failure on line 34 in commands/make/controller.ts

View workflow job for this annotation

GitHub Actions / test / test_linux (21.x)

Insert `⏎·····`

Check failure on line 34 in commands/make/controller.ts

View workflow job for this annotation

GitHub Actions / test / test_windows (21.x)

Insert `␍⏎·····`
alias: 'r',
})
declare resource: boolean

@flags.boolean({
description: 'Generate controller with methods to perform CRUD actions on a resource',
description: 'Generate resourceful controller without the "edit" and the "create" methods',
alias: 'a',
})
declare api: boolean
Expand Down

0 comments on commit d83e970

Please sign in to comment.