Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add replace-comment command #1

Merged
merged 3 commits into from
Nov 26, 2024
Merged

Add replace-comment command #1

merged 3 commits into from
Nov 26, 2024

Conversation

thatportugueseguy
Copy link
Contributor

Added replace-cmt to replace comments in secrets.

Usage: replace-cmt <secret_name>.

Will open an editor in interactive shells, expects stdin input otherwise.

I also simplified and updated the replace command to handle shared logic.

bin/main.ml Outdated

let replace_comments =
let doc = "replaces the comments of the specified secret, keeping the secret." in
let info = Cmd.info "replace-cmt" ~doc in
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
let info = Cmd.info "replace-cmt" ~doc in
let info = Cmd.info "replace-comment" ~doc in

no point saving chars here really

* origin/master:
  Make new and edit cmd usage uniform (#2)
  add OS constraint to opam file
@thatportugueseguy thatportugueseguy changed the title Add replace-cmt command Add replace-comment command Nov 26, 2024
@thatportugueseguy thatportugueseguy merged commit 670027e into master Nov 26, 2024
2 of 4 checks passed
@thatportugueseguy thatportugueseguy deleted the replace-cmt-cmd branch November 26, 2024 13:11
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