Skip to content

Commit f31c5ae

Browse files
committed
Improve command quality
1 parent 775f77a commit f31c5ae

435 files changed

Lines changed: 7750 additions & 2465 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

assets/commands/a2dismod.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Don't show **informative messages**
1212

1313
```sudo a2dismod -q [module]```
1414

15-
**Force** disable a module and cascade disable all modules that depend on it
15+
**Force** disable a module even if it does not exist or is already disabled
1616

1717
```sudo a2dismod -f [module]```
1818

@@ -36,7 +36,7 @@ The tool works alongside **a2enmod**, which enables modules. After disabling a m
3636
> Don't show informative messages
3737
3838
**-f, --force**
39-
> Cascade disable all modules that depend on the specified module
39+
> Do not complain if the specified module does not exist or is already disabled
4040
4141
**-m, --maintmode**
4242
> Enables maintainer mode; the program invocation is effectuated automatically by a maintainer script
@@ -46,7 +46,7 @@ The tool works alongside **a2enmod**, which enables modules. After disabling a m
4646
4747
# CAVEATS
4848

49-
This utility is **Debian-specific** and not available on other Linux distributions. Using **-f** to force disable a module will also disable all dependent modules, which may break your Apache configuration.
49+
This utility is **Debian-specific** and not available on other Linux distributions (also works on Ubuntu and derivatives). After disabling a module, you must restart or reload Apache for changes to take effect.
5050

5151
# HISTORY
5252

assets/commands/a2enmod.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ Enable Apache2 modules
88

99
```sudo a2enmod [module]```
1010

11+
**Enable** a module and **reload** Apache
12+
13+
```sudo a2enmod [module] && sudo systemctl reload apache2```
14+
15+
**Enable the rewrite** module
16+
17+
```sudo a2enmod rewrite```
18+
19+
**Enable SSL** module
20+
21+
```sudo a2enmod ssl```
22+
1123
Don't show **informative messages**
1224

1325
```sudo a2enmod -q [module]```

assets/commands/aa-teardown.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ Unload all AppArmor profiles and disable enforcement
1818

1919
This is typically used for troubleshooting when AppArmor profiles are causing issues, or when completely disabling AppArmor on a system.
2020

21-
# PARAMETERS
22-
23-
**-h, --help**
24-
> Display help information
25-
2621
# CAVEATS
2722

2823
Running this command removes **all AppArmor security protections** from the system. Applications will run without any AppArmor confinement until profiles are reloaded.
@@ -33,4 +28,4 @@ Part of the **AppArmor** utilities package for managing application security pro
3328

3429
# SEE ALSO
3530

36-
[aa-status](/man/aa-status)(8), [aa-disable](/man/aa-disable)(8), [aa-enforce](/man/aa-enforce)(8), [apparmor](/man/apparmor)(7)
31+
[aa-status](/man/aa-status)(8), [aa-enforce](/man/aa-enforce)(8), [aa-complain](/man/aa-complain)(8), [apparmor](/man/apparmor)(7)

assets/commands/acme.sh.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,18 @@ The tool automatically handles certificate renewal through cron jobs and support
8181
**--force**
8282
> Force renewal regardless of expiry
8383
84+
**--revoke** **-d** _domain_
85+
> Revoke a certificate
86+
87+
**--remove** **-d** _domain_
88+
> Remove a certificate from the renewal list
89+
90+
**--server** _url_
91+
> Specify ACME server (default: Let's Encrypt). Use letsencrypt, zerossl, buypass, or a custom URL.
92+
93+
**--upgrade**
94+
> Upgrade acme.sh to the latest version
95+
8496
# CONFIGURATION
8597

8698
**~/.acme.sh/account.conf**

assets/commands/adb.md

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ Open a **shell** on the device
2424

2525
```adb shell```
2626

27+
**Pair** with device for wireless debugging (Android 11+)
28+
29+
```adb pair [host]:[port]```
30+
31+
**Connect** wirelessly to a device
32+
33+
```adb connect [host]:[port]```
34+
2735
# SYNOPSIS
2836

2937
**adb** [_-d|-e|-s serial_] _command_ [_options_]
@@ -45,14 +53,23 @@ The tool operates through a client-server architecture where the adb server runs
4553
**-s** _serial_
4654
> Direct command to device with specified serial number
4755
56+
**-t** _transport_id_
57+
> Direct command to device with given transport ID
58+
4859
**devices**
4960
> List all connected devices and their states
5061
51-
**install** _apk_
52-
> Install an APK file
62+
**install** [**-r**] [**-g**] _apk_
63+
> Install an APK file. -r reinstalls keeping data, -g grants all runtime permissions.
5364
54-
**uninstall** _package_
55-
> Remove an application by package name
65+
**uninstall** [**-k**] _package_
66+
> Remove an application by package name. -k keeps data and cache directories.
67+
68+
**pair** _host_:_port_ [_pairing_code_]
69+
> Pair with a device for wireless debugging (Android 11+).
70+
71+
**connect** _host_:_port_
72+
> Connect to a device over TCP/IP.
5673
5774
**push** _local_ _remote_
5875
> Copy file from computer to device
@@ -81,6 +98,12 @@ The tool operates through a client-server architecture where the adb server runs
8198
**kill-server**
8299
> Stop the adb server
83100
101+
**sideload** _otapackage_
102+
> Sideload an OTA update package in recovery mode
103+
104+
**bugreport** [_path_]
105+
> Generate a bug report and save to path
106+
84107
# CONFIGURATION
85108

86109
**~/.android/adb_usb.ini**
@@ -105,4 +128,4 @@ USB debugging must be enabled on the device. First connection requires authorizi
105128

106129
# SEE ALSO
107130

108-
[fastboot](/man/fastboot)(1), [aapt](/man/aapt)(1), [logcat](/man/logcat)(1)
131+
[fastboot](/man/fastboot)(1), [aapt](/man/aapt)(1), [logcat](/man/logcat)(1), [scrcpy](/man/scrcpy)(1)

assets/commands/adduser.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,31 @@ The utility chooses appropriate UID/GID values, creates home directories with sk
6565
> Create group (or named group for system user)
6666
6767
**--disabled-login**
68-
> Disable login and set shell to /usr/sbin/nologin
68+
> Disable login (no password set, login not possible until enabled)
6969
7070
**--disabled-password**
71-
> Prevent password setting
71+
> Do not set a password (login via other methods like SSH keys still possible)
7272
73-
**--comment comment**
74-
> Set GECOS field information
73+
**--gecos GECOS**
74+
> Set GECOS field (full name, room, phone, etc.) without interactive prompt
7575
7676
**--add-extra-groups**
7777
> Add user to EXTRA_GROUPS defined in config
7878
79+
**--firstuid ID**
80+
> Override the first UID in the range for new users
81+
82+
**--lastuid ID**
83+
> Override the last UID in the range for new users
84+
7985
**--quiet**
80-
> Suppress messages
86+
> Suppress informational messages, only show warnings and errors
87+
88+
**--debug**
89+
> Be verbose, useful for troubleshooting
8190
8291
**--conf file**
83-
> Use alternate configuration file
92+
> Use alternate configuration file instead of /etc/adduser.conf
8493
8594
# CONFIGURATION
8695

assets/commands/alien.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@ Convert **keeping the original version** number
7070
**-T, --test**
7171
> Test generated packages with lintian
7272
73+
**--bump**=_N_
74+
> Increment version number by N instead of 1
75+
76+
**-h, --help**
77+
> Display usage summary
78+
79+
**--version**
80+
> Display alien version
81+
7382
# CAVEATS
7483

7584
Converted packages may not work perfectly as distribution-specific dependencies and scripts may not translate correctly between formats.

assets/commands/alsamixer.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,28 @@ Start with **black background**
5252
> Up/Down arrows or +/-: adjust volume
5353
5454
**Volume Control:**
55-
> PageUp/PageDown: increase/decrease by 5%
55+
> PageUp/PageDown: increase/decrease by 5
56+
> Home: set to 100%
5657
> End: set to 0%
5758
> 0-9: set to 0-90% volume
5859
> Q/W/E: raise left/both/right
5960
> Z/X/C: lower left/both/right
6061
6162
**Muting & Capture:**
6263
> M: toggle mute (both channels)
64+
> , or <: mute left channel only
65+
> . or >: mute right channel only
6366
> Space: enable recording for current channel
6467
6568
**View Modes:**
69+
> F1 or ?: help screen
70+
> F2 or /: system information
6671
> F3/F4/F5: playback/capture/all modes
6772
> Tab: toggle views circularly
6873
> F6 or S: select sound card
6974
7075
**Other:**
76+
> H: show keyboard shortcuts reminder
7177
> B or =: balance left/right channels
7278
> L: redraw screen
7379
> Esc or Alt+Q: quit

assets/commands/ani-cli.md

Lines changed: 57 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,33 @@ Search and stream anime from the terminal
88

99
```ani-cli [anime_name]```
1010

11-
**Continue** watching last anime
11+
**Continue** watching from history
1212

1313
```ani-cli -c```
1414

15-
Download instead of **streaming**
15+
**Download** instead of streaming
1616

1717
```ani-cli -d [anime_name]```
1818

1919
Select specific **quality**
2020

21-
```ani-cli -q [720p] [anime_name]```
21+
```ani-cli -q [720] [anime_name]```
2222

2323
Use **VLC** player
2424

2525
```ani-cli -v [anime_name]```
2626

27+
Watch **dubbed** version
28+
29+
```ani-cli --dub [anime_name]```
30+
31+
Watch specific **episode** range
32+
33+
```ani-cli -e [1-5] [anime_name]```
34+
2735
# SYNOPSIS
2836

29-
**ani-cli** [_-c_] [_-d_] [_-q quality_] [_-v_] [_search_query_]
37+
**ani-cli** [_-cdevN_] [_-q quality_] [_-e episodes_] [_--dub_] [_search_query_]
3038

3139
# DESCRIPTION
3240

@@ -42,32 +50,70 @@ The tool scrapes anime streaming sites to find available content, presenting opt
4250
**-d**, **--download**
4351
> Download instead of stream
4452
53+
**-e**, **--episode** _range_
54+
> Specify episode number or range (e.g., 1-5)
55+
4556
**-q** _quality_
46-
> Specify video quality (360p, 480p, 720p, 1080p)
57+
> Specify video quality (best, worst, 360, 480, 720, 1080). Default is best.
4758
4859
**-v**, **--vlc**
4960
> Use VLC player instead of mpv
5061
51-
**-H**, **--history**
52-
> Show watch history
62+
**-D**, **--delete**
63+
> Delete watch history
64+
65+
**-s**, **--syncplay**
66+
> Watch together with friends using Syncplay (mpv only)
67+
68+
**-N**, **--non-interactive**
69+
> Disable the interactive menu
70+
71+
**-S** _index_, **--select-nth** _index_
72+
> Select nth search result without prompting
73+
74+
**--dub**
75+
> Play the dubbed version instead of subbed
5376
54-
**-s** _source_
55-
> Select source site
77+
**--skip**
78+
> Use ani-skip to skip episode intros (mpv only)
79+
80+
**--no-detach**
81+
> Don't detach the player (useful for in-terminal playback)
82+
83+
**--rofi**
84+
> Use rofi instead of fzf for the interactive menu
5685
5786
**-U**, **--update**
5887
> Update ani-cli
5988
6089
**-h**, **--help**
6190
> Show help information
6291
92+
# CONFIGURATION
93+
94+
**ANI_CLI_MODE**
95+
> Controls media mode: sub or dub. Default is sub.
96+
97+
**ANI_CLI_QUALITY**
98+
> Controls video quality (best, worst, 360, 480, 720, 1080). Default is best.
99+
100+
**ANI_CLI_DOWNLOAD_DIR**
101+
> Download directory. Default is the current directory.
102+
103+
**ANI_CLI_EXTERNAL_MENU**
104+
> Set to 1 to use rofi dmenu instead of fzf. Default is 0.
105+
106+
**ANI_CLI_SKIP_INTRO**
107+
> Set to 1 to use ani-skip for intro skipping (mpv only). Default is 0.
108+
63109
# CAVEATS
64110

65-
Depends on external streaming sources that may change or become unavailable. Quality and availability vary by title. Requires mpv or vlc for playback. May not work in all regions.
111+
Depends on external streaming sources that may change or become unavailable. Quality and availability vary by title. Requires mpv or vlc for playback. May not work in all regions. Requires curl, sed, grep, and fzf as dependencies.
66112

67113
# HISTORY
68114

69115
**ani-cli** was created as a community project for anime fans who prefer command-line tools. It has been actively maintained with updates to support changing streaming sources.
70116

71117
# SEE ALSO
72118

73-
[mpv](/man/mpv)(1), [vlc](/man/vlc)(1), [youtube-dl](/man/youtube-dl)(1)
119+
[mpv](/man/mpv)(1), [vlc](/man/vlc)(1), [yt-dlp](/man/yt-dlp)(1), [fzf](/man/fzf)(1)

0 commit comments

Comments
 (0)