Warn before overwriting file if user has already posted today #2
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hugh/soyuz-cli#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Might be best to check this when running
write
since that sets the filename, but this would require internet access when authoring.Try something like:
then use output() - see https://doc.rust-lang.org/std/process/struct.Command.html#method.stdout
maybe make the user use a
-force
flag or something if there is a post from today?