object MainHelpers extends LazyLogger
- Alphabetic
- By Inheritance
- MainHelpers
- LazyLogger
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
actionResultProcessor[A](noisy: Boolean, start: Array[Int]): (Either[Throwable, A]) ⇒ IO[(String, Int)]
Process an
Attempt[A] = Either[Throwable, A]
from an Action run.Process an
Attempt[A] = Either[Throwable, A]
from an Action run. Left exceptions are matched and printed out otherwise the program result is printed. The output program message may be quite voluminous if there was an error.- noisy
Whether to print the runtime out.
- start
Start time information array from
process.hrtime
.- returns
Tuple of final program message and program exit code.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
defaultActionSelector: ActionSelector
Provide a default set of actions.
Provide a default set of actions. If no commands are recognized this runs an action to inform the user to use --help. It always returns a Some.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
gatherEnvVariables(c: CommonConfig): CommonConfig
Create a copy of CommonConfig to reflect enviroment variables relevant to dynamicsclient.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
logger: Logger
- Definition Classes
- LazyLogger
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
run(zero: AppConfig, moreOpts: Option[(OptionParser[AppConfig]) ⇒ Unit] = None, moreCommands: Option[ActionSelector] = None)(implicit ec: ExecutionContext, F: MonadError[IO, Throwable]): Unit
Run the program with a way to provide some more options if desired.
Run the program with a way to provide some more options if desired. All standard options are added by default.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )