File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ pub fn get_task_command_map() -> HashMap<String, String> {
2929 "build" . to_string ( ) ,
3030 "uvx --from build pyproject-build --installer uv" . to_string ( ) ,
3131 ) ;
32+ task_command_map. insert (
33+ "sbom" . to_string ( ) ,
34+ "uvx --from cyclonedx-bom cyclonedx-py environment .venv -o application.cdx.json"
35+ . to_string ( ) ,
36+ ) ;
3237 task_command_map
3338}
3439
@@ -41,9 +46,6 @@ pub fn run_task(
4146 if let Some ( command_line) = get_task_command_map ( ) . get ( task) {
4247 run_command_line ( command_line, verbose)
4348 } else {
44- Err ( KeeperError :: ManagerTaskNotFound (
45- task. to_owned ( ) ,
46- "uv" . to_string ( )
47- ) . into_report ( ) )
49+ Err ( KeeperError :: ManagerTaskNotFound ( task. to_owned ( ) , "uv" . to_string ( ) ) . into_report ( ) )
4850 }
4951}
You can’t perform that action at this time.
0 commit comments