CodeFlow CLI is a versatile tool for displaying and interacting with text-based content dynamically. Designed with customization and ease of use in mind, it offers multiple themes and display modes to suit various user needs.
- Custom Themes: Select your preferred theme with the
-tflag. - Theme Listing: View all available themes using the
-listthemeflag. - Interactive Mode: Display text word by word, advancing on each keystroke, with the
-iflag. - Display Mode: Automatically display the text content without user interaction using the
-dflag. - Custom Speed: Adjust the speed of automatic content display with the
-sflag (higher values mean faster display). - Version Information: Check the current version of CodeFlow with the
-versionflag.
- Clone the repository:
git clone https://github.com/han-nwin/codeflow cd codeflow - Make installation script executable
chmod +x install.sh
- Run installation script
./install.sh
- Verify installation
codeflow -version
Make sure Go is installed on your system
go install github.com/han-nwin/codeflow/cmd/codeflow@latest- -t : Specify a syntax highlighting theme (default: tokyonight-night).
- -listtheme: List all available themes.
- -d: Enable display mode (automatic content display with progress bar).
- -s : Set the speed of automatic display in display mode (default: 20, higher values are faster).
- -i: Enable interactive mode (reveal content word by word on each keystroke).
- -version: Display the program version.
By default, running codeflow with a file path and no flags will display the content using the default theme (tokyonight-night) in a non-interactive manner. The text is displayed all at once without animations or progress tracking.
codeflow myfile.txtcodeflow -t dracula myfile.txtList Available Themes
codeflow -listthemecodeflow -d -s 50 myfile.txtYou can specify a theme by using -t as well.
codeflow -i myfile.txtYou can specify a theme by using -t as well.
