CliArgs class
Minimal --flag / --flag=value parser shared by gisila_queue's CLI
helpers (WorkerCli, BeatCli) and bin/rose.dart, so every
gisila_queue binary parses arguments the same way.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
has(
String key) → bool -
intOr(
String key, int fallback) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
redisTarget(
) → ({String host, RedisOptions options, int port}) -
Where Redis is:
--redis-url, else theREDIS_URLenvironment variable (keeps a password out of the process list), else--redis-host/--redis-port. -
string(
String key) → String? -
stringList(
String key) → List< String> ? -
A comma-separated flag (e.g.
--queues=emails,default) split and trimmed into a list, or null if the flag wasn't given. -
stringOr(
String key, String fallback) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited