We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc7698c commit 21bb3bfCopy full SHA for 21bb3bf
blsforme/src/entry.rs
@@ -81,6 +81,14 @@ impl<'a> Entry<'a> {
81
}
82
83
84
+ /// With the given cmdline entry
85
+ /// Used by moss to inject a `moss.tx={}` parameter
86
+ pub fn with_cmdline(self, entry: CmdlineEntry) -> Self {
87
+ let mut cmdline = self.cmdline;
88
+ cmdline.push(entry);
89
+ Self { cmdline, ..self }
90
+ }
91
+
92
/// Return an entry ID, suitable for `.conf` generation
93
pub fn id(&self, schema: &Schema) -> String {
94
// TODO: For BLS schema, grab something even uniquer (TM)
0 commit comments