Skip to content

Commit

Permalink
refactor(sample-app): added description to the commands
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayak25 committed Nov 12, 2024
1 parent 1d66595 commit e8528ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integrations/sample-app/app/console/cache.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Cache, Command, ConsoleIO } from '@intentjs/core';

@Command('test:cache')
@Command('test:cache', { desc: 'Command to test the cache drivers' })
export class TestCacheConsoleCommand {
async handle(_cli: ConsoleIO): Promise<boolean> {
_cli.info('Testing the cache');
Expand Down
2 changes: 1 addition & 1 deletion integrations/sample-app/app/console/storage.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Command, ConsoleIO, Storage } from '@intentjs/core';

@Command('test:storage')
@Command('test:storage', { desc: 'Command to test the storage drivers' })
export class TestStorageConsoleCommand {
async handle(_cli: ConsoleIO): Promise<boolean> {
_cli.info('Testing the storage');
Expand Down

0 comments on commit e8528ec

Please sign in to comment.