MOwa-Lang
Setup

MowaLang CLI Flags

Learn how to use MowaLang from the terminal using CLI flags for help, running files, setting actor preferences, and more.

Learn how to control MowaLang via the terminal using CLI flags. Whether you're looking to run a file, get help, check your version, or customize the hero dialogue experience — we’ve got you covered!


Basic CLI Usage

Once you’ve installed MowaLang, you can run MowaLang from your terminal using:

mowa <flag >

MowaLang supports both short -h and long --help versions of flags.

If no flag is passed, the help message will be shown by default.

Available Flags 🚩

FlagDescription
-h,--helpDisplay the help message
-v,--versionShow the installed MowaLang version
-r,--runRun a .mowa file (requires filename)
-p,--preferenceSet hero preference for success/failure dialogues

-h,--help Flag

Use this flag to display a guide to all available commands.

mowa -h

Output:

 /$$      /$$                                         /$$
| $$$    /$$$                                        | $$
| $$$$  /$$$$  /$$$$$$  /$$  /$$  /$$  /$$$$$$       | $$        /$$$$$$  /$$$$$$$   /$$$$$$
| $$ $$/$$ $$ /$$__  $$| $$ | $$ | $$ |____  $$      | $$       |____  $$| $$__  $$ /$$__  $$
| $$  $$$| $$| $$  \ $$| $$ | $$ | $$  /$$$$$$$ /$$$$| $$        /$$$$$$$| $$  \ $$| $$  \ $$
| $$\  $ | $$| $$  | $$| $$ | $$ | $$ /$$__  $$|____/| $$       /$$__  $$| $$  | $$| $$  | $$
| $$ \/  | $$|  $$$$$$/|  $$$$$/$$$$/|  $$$$$$$      | $$$$$$$$|  $$$$$$$| $$  | $$|  $$$$$$$
|__/     |__/ \______/  \_____/\___/  \_______/      |________/ \_______/|__/  |__/ \____  $$
                                                                                    /$$  \ $$
                                                                                   |  $$$$$$/
                                                                                    \______/

----------------------------------------------------------------------------------------------

Thanks For Downloading MowaLang - A Custom Built Interpreter for Telugu Users

Description:
MOWALANG is a dramatic programming language inspired by Telugu movies and mass dialogues.
Write expressive code, get dialogues on success or errors, and enjoy coding like never before.

Developed by Pradeep Varma

----------------------------------------------------------------------------------------------

USAGE:
  mowa <command>

FLAGS:
  -h, --help                help for mowa
  -p, --preference string   Set the dialogue actor preference
  -r, --run string          Run a MowaLang file
  -v, --version             Print the version of MowaLang

Auto Help

Running mowa without any flag also shows this help message.

-v,--version Flag

This flag displays the currently installed version of MowaLang.

mowa --version

output:

MowaLang v1.0.0

-r,--run Flag

Use this flag to run a .mowa file from your terminal.

mowa --r hello.mowa

The --run flag supports only one file at a time. You cannot pass multiple files.

Example output:

Hello, MowaLang!
Prabhas: Jai Maahishmathi!

-p,--preference Flag

Customize the movie hero for success or failure dialogues!

mowa -p pspk

output:

Mowa, actor preference set to 'pspk'!

Reset Preferences

To reset to all heroes, run: bash mowa --preference all

Available Heroes

  • pspk : Pawan Kalyan
  • aa : Allu Arjun
  • ntr : Jr NTR
  • prabhas : Prabhas
  • bob : Mahesh Babu
  • balayya : Balakrishna
  • all (default) : All Heroes

Invalid Preference

If you enter an unknown hero name, MowaLang will show a list of available heroes.

Next up: Explore the Playground to practice live!