https://github.com/sty00a4-code/clat
https://github.com/sty00a4-code/clat
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sty00a4-code/clat
- Owner: sty00a4-code
- Created: 2024-06-15T19:13:36.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-15T19:17:24.000Z (over 1 year ago)
- Last Synced: 2025-02-09T04:23:29.033Z (12 months ago)
- Language: Lua
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CLAT
Command Line Application Tokenizer
## Examples
---
```
echo hello there
```
```lua
{
[1] = "echo",
[2] = "hello",
[3] = "there",
}
```
---
```
echo "hello there"
```
```lua
{
[1] = "echo",
[2] = "hello there",
}
```
---
```
echo hello -nl
```
```lua
{
[1] = "echo",
[2] = "hello",
["nl"] = true,
}
```
---
```
echo hello -wait=1
```
```lua
{
[1] = "echo",
[2] = "hello",
["wait"] = "1",
}
```
---
```
echo hello there -sep=" "
```
```lua
{
[1] = "echo",
[2] = "hello",
[3] = "there",
["sep"] = " ",
}
```
---