mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-21 12:59:41 +00:00
Linutil arguments when using curl
(#835)
* Use args * Include details about arguments * Update README.md Co-authored-by: Adam Perkowski <adas1per@protonmail.com> --------- Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
This commit is contained in:
parent
d033b0f36d
commit
e8e1a36a63
20
README.md
20
README.md
|
@ -24,6 +24,26 @@ curl -fsSL https://christitus.com/linux | sh
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://christitus.com/linuxdev | sh
|
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
|
## ⬇️ Installation
|
||||||
|
|
||||||
Linutil is also available as a package in various repositories:
|
Linutil is also available as a package in various repositories:
|
||||||
|
|
2
start.sh
2
start.sh
|
@ -43,7 +43,7 @@ check $? "Downloading linutil"
|
||||||
chmod +x "$temp_file"
|
chmod +x "$temp_file"
|
||||||
check $? "Making linutil executable"
|
check $? "Making linutil executable"
|
||||||
|
|
||||||
"$temp_file"
|
"$temp_file" "$@"
|
||||||
check $? "Executing linutil"
|
check $? "Executing linutil"
|
||||||
|
|
||||||
rm -f "$temp_file"
|
rm -f "$temp_file"
|
||||||
|
|
|
@ -69,7 +69,7 @@ check $? "Downloading linutil"
|
||||||
chmod +x "$TMPFILE"
|
chmod +x "$TMPFILE"
|
||||||
check $? "Making linutil executable"
|
check $? "Making linutil executable"
|
||||||
|
|
||||||
"$TMPFILE"
|
"$TMPFILE" "$@"
|
||||||
check $? "Executing linutil"
|
check $? "Executing linutil"
|
||||||
|
|
||||||
rm -f "$TMPFILE"
|
rm -f "$TMPFILE"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user