You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2021. It is now read-only.
Using bredit is pretty straight forward, bredit's command structure is as follows:
bredit [ckvpe] PATH_ARG
If you need Example usage please refer to the Example page. (WIP)
Flags
flag
value
default
required
-c
bool
true
optional
-d
bool
false
optional
-k
string
empty
yes
-v
string
empty
yes(1)
-p
string
empty
yes(1)
-e
string
".rtorrent"
optional
The -c flag is a simple bool flag that tells bredit whenever or not to start bredit in CLI or GUI mode.
Using -d flag enables dry-mode, meaning it won't overwrite the file provided, no output if PATH_ARG is a folder.
The -k flag stands for key and is used to determine which key to be used when editing the bencode map.
The -v flag is the new value that will replace the key's (as provided by -k) current value.
The -p flag is used to find a certain pattern within key's old value and replace only that specific part with the new value if no value is given by -v then it'll simply remove the found pattern.
The -e flag is used to include certain file extensions as to both make sure bredit only edits the right file type and speed up the process.