you need to have node.js v16 or above and npm v8 or above
$ npm install https://github.com/m4rch3n1ng/blictionary-cli/tarball/main -g
you need to have node.js v16 or above and npm v8 or above
to initialize the project download it and run
$ npm install
to build/transpile the project run
$ npm run build
to install it from the local build run
$ npm install . -g
the main function, collects the messages from all the sources, sorts them chronologically and puts them together created files are the basis for most other commands
accepts three input arguments and one output:
- [input] path to the directory of discord channel entries
discordPath
- [input] path to the directory of twitch logs
twitchPath
- [input] path to the txt file of irc logs
ircPath
- [output] path to the output directory
outDir
all inputs can either be given directly or in the zip format of either .7z
or .zip
(note: if you zip a directory, you have to zip the directory directly instead of the entries (i.e. there can only be one file/dir at the highest level of the zip))
you have to give at least one input
. the output
is optional and defaults to "."
these can either be given sequentially in the format
$ blictionary init [discord] [twitch] [ircTxt] [outDir]
or as options
-d, --discord
,discordPath
-t, --twitch
,twitchPath
-i, --irc
,ircPath
-o, --outDir
,outDir
$ blictionary init -d [discord] -t [twitch] -i [ircTxt] -o [outDir]
you can also specify multiple inputs of the same type by using the same flag twice
$ blictionary init -d [discord1] -d [discord2]
accepts one extra option:
-z, --zip
zip the output directory
search for an entry in a directory. learn more about entries.
accepts one argument: the path to the directory
$ blictionary entry search <dir>