Skip to content

Commit cb197dc

Browse files
committed
Updated for new app.cli reference
1 parent 52160b9 commit cb197dc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/Providers/CommandsProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import 'App/Commands/StatesListCommand'
22

33
export function CommandsProvider(app) {
4-
app.get('cli').register(StatesListCommand)
4+
app.cli.register(StatesListCommand)
55
}

boot/Cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {CliProvider} from 'grind-cli'
22
import 'App/Providers/CommandsProvider'
33

44
const app = require('App/Bootstrap')
5-
app.providers.unshift(CliProvider, CommandsProvider)
5+
app.providers.push(CliProvider, CommandsProvider)
66

77
app.boot()
8-
app.get('cli').run()
8+
app.cli.run()

0 commit comments

Comments
 (0)