Quick-start
Setup
Choose between installing globally or using directly thought npx
Installing globally
Install the package globally:
# Using npm
npm install -g lechonk
# Using pnpm
pnpm add -g lechonk
Run the CLI:
le
Using npx
Run directly:
npx lechonk
Usage
If using
npx
, just substitutele
fornpx lechonk
Interactive mode
Just run the root command for entering interactive mode. After that, follow the inputs.
le
Non-interactive mode
Get a list of all available commands:
# Gets help with all commands
le -h
# Usage examples
le toast Lechonk # outputs: `Hello, Lechonk!`
le encode.base64 "Lechonk" # outputs: `TGVjaG9uaw==`
le decode.base64 "TGVjaG9uaw==" # outputs: `Lechonk`
# Piping is also supported
echo 'Lechonk' > test.txt
cat test.txt | le encode.base # outputs: `TGVjaG9uaw==`