1
0
Fork 0
forked from fun/fun
fun/web/documentation/examples/cli_argv_dump.md

24 lines
588 B
Markdown

---
layout: page
published: true
noToc: false
noComments: false
noDate: false
title: Fun - cli_argv_dump.fun — overview
subtitle: Documentation for cli_argv_dump.fun — overview
description: Documentation for cli_argv_dump.fun — overview
permalink: /documentation/examples/cli_argv_dump/
lang: en
tags:
- cli_argv_dump
- example
---
What it shows
- Prints argv/argc handling to demonstrate CLI arguments parsing at a low level.
How to run
- export FUN_LIB_DIR="./lib"
- ./build_debug/fun examples/cli_argv_dump.fun --foo bar 123
- Or: fun examples/cli_argv_dump.fun --foo bar 123