Skip to content

Conversation

@tduccuong
Copy link

@tduccuong tduccuong commented Dec 25, 2024

Usecase:

In some scenario, there is a need to override the cached build with a new build of the same version, without user having to type y when prompted. For example, re-deploy a build in a local test/prod env. This makes scripting easy.

Comment on lines 15 to 16
const confirmed = args.len >= 2 and std.mem.eql(u8, args[1], "confirmed");
try do_uninstall(install_dir, confirmed);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a nitpick, but I would prefer this be called the inverse: -no-confirm or something like that.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i changed the option to --no-confirm :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants