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 a8cf727 commit 054ded2Copy full SHA for 054ded2
server/src/profile/api.rs
@@ -42,6 +42,7 @@ pub struct Run {
42
#[arg(long, env)]
43
pub devmode: bool,
44
45
+ /// Inject example importer configurations during startup
46
47
pub sample_data: bool,
48
server/src/sample_data.rs
@@ -170,6 +170,7 @@ async fn add_quay(
170
.await
171
}
172
173
+/// Insert example importers, ignoring existing ones
174
pub async fn sample_data(db: trustify_common::db::Database) -> anyhow::Result<()> {
175
let importer = ImporterService::new(db);
176
0 commit comments