Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit 6815883

Browse files
committed
fix: export main
1 parent 6d090ae commit 6815883

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import * as Config from '@anycli/config'
33
import Command from './command'
44
import * as flags from './flags'
55
export {parse} from '@anycli/parser'
6+
export {Main} from './main'
67

78
export default Command
89
export {

src/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as Config from '@anycli/config'
22

33
import {Command} from '.'
44

5-
export default class Main extends Command {
5+
export class Main extends Command {
66
static parserOptions = {'--': false, strict: false}
77

88
static run(argv = process.argv.slice(2), opts?: Config.Options) {

0 commit comments

Comments
 (0)