Skip to content

Commit

Permalink
fix: pass through force flag
Browse files Browse the repository at this point in the history
  • Loading branch information
nhoss2 committed Jul 6, 2024
1 parent 9308cbe commit 3f03a6c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ program
.description(
"delete all files in the configured bucket based on the input path"
)
.action(async (path: string, options: { showFiles?: boolean }) => {
const { showFiles } = options;
await deletePath(path, showFiles);
});
.action(
async (path: string, options: { showFiles?: boolean; force?: boolean }) => {
const { showFiles, force } = options;
await deletePath(path, showFiles, force);
}
);

program.parse(process.argv);

Expand Down

0 comments on commit 3f03a6c

Please sign in to comment.