mirror of
https://github.com/sern-handler/cli
synced 2026-06-06 01:16:53 +00:00
Changed to export function help
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export default function () {
|
||||
export function help() {
|
||||
console.log(
|
||||
'This is sern cli help section\n\n' +
|
||||
'Fill me up later!'
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user