diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-10 14:01:26 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-10 14:01:26 -0600 |
| commit | 8e297ae732660b8174703af67b574d64145bd7dc (patch) | |
| tree | 376d9ce71980be0b10d6f3fa06458dfdf5542b74 /src/bin/cli.rs | |
| parent | 155895d188ad6199247f1831b7188018532385d7 (diff) | |
refactor: pass project path to all()
Diffstat (limited to 'src/bin/cli.rs')
| -rw-r--r-- | src/bin/cli.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/cli.rs b/src/bin/cli.rs index fbd07d35..c6c741a2 100644 --- a/src/bin/cli.rs +++ b/src/bin/cli.rs @@ -50,8 +50,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> { token, host, } => { - let repository = EntitiesRepository::new(token, host, project); - let entities = repository.all().await?; + let repository = EntitiesRepository::new(token, host); + let entities = repository.all(project).await?; let json = serde_json::to_string_pretty(&entities)?; std::fs::write(output, json)?; } |
