Repository: oclif/core
Pull request #41 (2020-09-15 17:20:28)

fix: capitalize Flags module export

codecov[bot]: # [Codecov](https://codecov.io/gh/oclif/core/pull/41?src=pr&el=h1) Report
> Merging [#41](https://codecov.io/gh/oclif/core/pull/41?src=pr&el=desc) into [master](https://codecov.io/gh/oclif/core/commit/3d272d8a5308e1063326bcfc1eb8998c2a4f8585?el=desc) will **not change** coverage.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/oclif/core/pull/41/graphs/tree.svg?width=650&height=150&src=pr&token=K0kGk9tefA)](https://codecov.io/gh/oclif/core/pull/41?src=pr&el=tree)

```diff
@@          Coverage Diff           @@
##           master     #41   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files           4       4           
  Lines          25      25           
  Branches        5       5           
======================================
  Misses         25      25           
```


| [Impacted Files](https://codecov.io/gh/oclif/core/pull/41?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [src/index.ts](https://codecov.io/gh/oclif/core/pull/41/diff?src=pr&el=tree#diff-c3JjL2luZGV4LnRz) | `0.00% <ø> (ø)` | |

------

[Continue to review full report at Codecov](https://codecov.io/gh/oclif/core/pull/41?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/oclif/core/pull/41?src=pr&el=footer). Last update [3d272d8...890a9ce](https://codecov.io/gh/oclif/core/pull/41?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).


Patch:
diff --git a/src/index.ts b/src/index.ts
index a5d401a..7356e2f 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -5,7 +5,7 @@ import Command from './command'
 import {run} from './main'
 import {Config, Plugin, tsPath, toCached, Interfaces} from './config'
 import * as Errors from './errors'
-import * as flags from './flags'
+import * as Flags from './flags'
 import {HelpBase, Help, getHelpClass} from './help'
 import * as Parser from './parser'
 
@@ -13,7 +13,7 @@ export {
   Command,
   Config,
   Errors,
-  flags,
+  Flags,
   getHelpClass,
   Help,
   HelpBase,


Test patch:
diff --git a/test/command/command.test.ts b/test/command/command.test.ts
index 4826fbf..f6f57f8 100644
--- a/test/command/command.test.ts
+++ b/test/command/command.test.ts
@@ -1,7 +1,7 @@
 import {expect, fancy} from 'fancy-test'
 import path = require('path')
 
-import {Config, Command as Base, flags} from '../../src'
+import {Config, Command as Base, Flags as flags} from '../../src'
 import {TestHelpClassConfig} from './helpers/test-help-in-src/src/test-help-plugin'
 
 // const pjson = require('../package.json')
diff --git a/test/help/format-command.test.ts b/test/help/format-command.test.ts
index e1a543d..448be79 100644
--- a/test/help/format-command.test.ts
+++ b/test/help/format-command.test.ts
@@ -1,10 +1,11 @@
-import {Command as Base, flags, Interfaces, toCached} from '../../src'
 import {expect, test as base} from '@oclif/test'
 import stripAnsi = require('strip-ansi')
 
+import {Command as Base, Flags as flags, Interfaces, toCached} from '../../src'
+import {Help} from '../../src/help'
+
 const g: any = global
 g.columns = 80
-import {Help} from '../../src/help'
 
 class Command extends Base {
   async run() {