0.4.0 • Published 2 years ago
lechonk v0.4.0

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 lechonkRun the CLI:
leUsing npx
Run directly:
npx lechonkUsage
If using
npx, just substitutelefornpx lechonk
Interactive mode
Just run the root command for entering interactive mode. After that, follow the inputs.
leNon-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==`