diff --git a/src/commands/help.js b/src/commands/help.js index 56381ae..f725d65 100644 --- a/src/commands/help.js +++ b/src/commands/help.js @@ -1,4 +1,4 @@ -export default function () { +export function help() { console.log( 'This is sern cli help section\n\n' + 'Fill me up later!' diff --git a/src/index.js b/src/index.js index 6bed787..6971622 100644 --- a/src/index.js +++ b/src/index.js @@ -1,7 +1,7 @@ #!/usr/bin/env node import { init } from './commands/init.js'; -import help from './commands/help.js'; +import { help } from './commands/help.js'; const regex = /(?<=--|-)\w+/gm; const flags = process.argv.slice(2).join(' ').match(regex);