Skip to content

Commit

Permalink
Linutil arguments when using curl (ChrisTitusTech#835)
Browse files Browse the repository at this point in the history
* Use args

* Include details about arguments

* Update README.md

Co-authored-by: Adam Perkowski <[email protected]>

---------

Co-authored-by: Adam Perkowski <[email protected]>
  • Loading branch information
jeevithakannan2 and adamperkowski authored Nov 7, 2024
1 parent d033b0f commit e8e1a36
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,26 @@ curl -fsSL https://christitus.com/linux | sh
```bash
curl -fsSL https://christitus.com/linuxdev | sh
```
<details>
<summary>CLI arguments</summary>

Linutil supports various command-line arguments to customize its behavior. Here are some common arguments you can use:

- `-t, --theme <THEME>` : Set the theme to use in the application [default: default] [possible values: default, compatible].
- `--override-validation` : Show all available options, disregarding compatibility checks (UNSAFE).
- `-h, --help` : Print help.

For more detailed usage, run:

```bash
curl -fsSL https://christitus.com/linux | sh -s -- --help
```

```bash
linutil --help
```
</details>

## ⬇️ Installation

Linutil is also available as a package in various repositories:
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ check $? "Downloading linutil"
chmod +x "$temp_file"
check $? "Making linutil executable"

"$temp_file"
"$temp_file" "$@"
check $? "Executing linutil"

rm -f "$temp_file"
Expand Down
2 changes: 1 addition & 1 deletion startdev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ check $? "Downloading linutil"
chmod +x "$TMPFILE"
check $? "Making linutil executable"

"$TMPFILE"
"$TMPFILE" "$@"
check $? "Executing linutil"

rm -f "$TMPFILE"
Expand Down

0 comments on commit e8e1a36

Please sign in to comment.