package
Version:
v0.0.0-...-b097151
Opens a new window with list of versions in this module.
Published: Dec 17, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
problem statement
lib for exiting a CLI
features
- cross platform terminal support
- API exposed via interface
- fake implementation to allow faking interactions
Documentation
¶
type CliExiter interface {
Exit(req ExitReq)
}
CliExiter allows mocking/faking program exit
type ExitReq struct {
Message string
Code int
}
Source Files
¶
Directories
¶
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.