CLI Commands
Carch now supports CLI commands! Use carch
with the following options:
sh
carch --help
sh
Usage: carch [OPTIONS]
A tool for automating Arch Linux setups.
Options:
--help, -h Show this help message and exit.
--version, -v Show the program version.
--gen-config Generate a default configuration file in ~/.config/carch/carch.conf.
--config <conf dir> Use a specific configuration file to load selected scripts.
-c Use the default configuration file to load selected scripts.
--run-script <name>, -r Run the specified script from /usr/bin/scripts.
--list-scripts, -l List all available scripts in /usr/bin/scripts.
--update Update Carch using the latest script.
--tui, -t Launch the TUI interface.
--uninstall Uninstall Carch and remove all associated files.
--help, -h
Show this help message and exit.--version, -v
Show the program version.--gen-config
Generate a default configuration file in ~/.config/carch/carch.conf.--config <conf dir>
Use a specific configuration file to load selected scripts.-c
Use the default configuration file to load selected scripts.--run-script <name>, -r
Run the specified script from /usr/bin/scripts.--list-scripts, -l
List all available scripts in /usr/bin/scripts.--update
Update Carch using the latest script.--tui, -t
Launch the TUI interface.--uninstall
Uninstall Carch and remove all associated files.
Example config:
conf
# Carch Conf File Example
# List the script names (without .sh extension) you want to include in the menu.
# Example:
Alacritty
Kitty
sh
carch --config /path/to/config.conf