Skip to content

Commit

Permalink
[cli] Add more commands to list of core cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Nov 24, 2017
1 parent 8f39c1c commit c7eb84e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/@sanity/cli/src/util/noSuchCommandText.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,18 @@ import chalk from 'chalk'

const commonMistakes = {get: 'list'}
const levenThreshold = 3
const coreCommands = ['build', 'check', 'config', 'dataset', 'start', 'install', 'uninstall']
const coreCommands = [
'build',
'check',
'configcheck',
'dataset',
'deploy',
'documents',
'exec',
'hook',
'start',
'uninstall'
]

const helpText = `
Run the command again within a Sanity project directory, where "@sanity/core"
Expand Down

0 comments on commit c7eb84e

Please sign in to comment.