Skip to content

Commit

Permalink
add command usage on bare command run
Browse files Browse the repository at this point in the history
  • Loading branch information
ksere committed Jul 13, 2022
1 parent 519af56 commit 3fa4290
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const spawnScript = ( scriptName, args = [], nodeArgs = [] ) => {
if ( ! scriptName ) {
// eslint-disable-next-line no-console
console.log( 'Script name is missing.' );
console.log( 'Usage: sc-scaffold plugin --name="My Plugin Name"' );
exit( 1 );
}

Expand Down

0 comments on commit 3fa4290

Please sign in to comment.