notedeck app: add clndash
a core-lightning dashboard i'm working on feature-gate it behind --clndash Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -126,6 +126,8 @@ impl Args {
|
||||
res.options.set(NotedeckOptions::RelayDebug, true);
|
||||
} else if arg == "--notebook" {
|
||||
res.options.set(NotedeckOptions::FeatureNotebook, true);
|
||||
} else if arg == "--clndash" {
|
||||
res.options.set(NotedeckOptions::FeatureClnDash, true);
|
||||
} else {
|
||||
unrecognized_args.insert(arg.clone());
|
||||
}
|
||||
|
||||
@@ -26,6 +26,9 @@ bitflags! {
|
||||
// ===== Feature Flags ======
|
||||
/// Is notebook enabled?
|
||||
const FeatureNotebook = 1 << 32;
|
||||
|
||||
/// Is clndash enabled?
|
||||
const FeatureClnDash = 1 << 33;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user