CLI
csr [OPTIONS] [COMMAND]
Options:
-h, --help Print help
-V, --version Print version
- All subcommands support
- and -- flags interchangeably
- Mixed flagging is supported:
csr service -n greetd -f is the same as csr service --name greetd --force
- Every command group has a short alias:
csr svc = csr service, csr sys = csr system, etc.
- Every subcommand has short aliases where applicable
- All output commands support
--json for machine-readable output
- Boolean flags default to
false when omitted
- Timeout flags default to
30 seconds (services) or 60 seconds (system operations) when omitted
Service management and lifecycle control. Alias: svc
csr service <COMMAND>
Commands:
start Start a service (alias: up)
stop Stop a service (alias: dn)
restart Restart a service (alias: rs)
reload Reload service configuration (alias: rl)
kill Send signal to a service
enable Enable a service for boot
disable Disable a service
status Show service status
list List all services (alias: ls)
inspect Inspect service details
log View service logs
cat Show service config file
edit Edit service config
diff Diff running vs on-disk config
validate Validate service configuration
create Create a new service config
rm Remove a service
monitor Monitor service health
watch Watch service events in real-time
tree Show dependency tree (alias: dep)
Start a service. Requires --name.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Service name (required) |
| wait |
-w |
--wait |
bool |
false |
Wait for service to reach target state |
| timeout |
-t |
--timeout |
u64 |
30 |
Timeout in seconds |
csr service start udevd
csr service start -n greetd
csr service start --name greetd --wait
csr service start -n greetd -w -t 60
csr svc up -n udevd
Stop a service. Requires --name.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Service name (required) |
| force |
-f |
--force |
bool |
false |
Force operation even if transitional state |
| timeout |
-t |
--timeout |
u64 |
30 |
Timeout in seconds |
csr service stop greetd
csr service stop -n greetd --force
csr service stop -n greetd -f -t 10
csr svc dn -n greetd -f
Restart a service. Requires --name.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Service name (required) |
| force |
-f |
--force |
bool |
false |
Force operation |
| timeout |
-t |
--timeout |
u64 |
30 |
Timeout in seconds |
csr service restart greetd
csr service restart -n greetd -f -t 10
csr svc rs -n greetd
Reload service configuration. Requires --name.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Service name (required) |
| signal |
-s |
--signal |
Option<String> |
SIGHUP |
Signal to send |
csr service reload pipewire
csr service reload -n pipewire -s SIGHUP
csr svc rl -n pipewire
Send signal to a service. Requires --name.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Service name (required) |
| signal |
-s |
--signal |
Option<String> |
SIGTERM |
Signal to send |
csr service kill -n snapd -s KILL
csr service kill --name snapd --signal SIGTERM
Enable a service for boot. Requires --name.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Service name (required) |
| boot |
-b |
--boot |
bool |
false |
Enable for boot only |
| now |
-W |
--now |
bool |
false |
Enable and start immediately |
csr service enable greetd
csr service enable -n greetd --now
csr service enable -n greetd -b
Disable a service. Requires --name.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Service name (required) |
| now |
-W |
--now |
bool |
false |
Disable and stop immediately |
csr service disable acpid
csr service disable -n acpid --now
Show service status. Name is optional (shows all if omitted).
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
Option<String> |
— |
Service name (omit for all) |
| json |
-j |
--json |
bool |
false |
Output as JSON |
| quiet |
-q |
--quiet |
bool |
false |
Quiet output |
csr service status
csr service status -n greetd
csr service status --json
csr service status -n greetd -j -q
List all services.
| Flag |
Short |
Long |
Type |
Default |
Description |
| all |
-a |
--all |
bool |
false |
Show all including stopped |
| failed |
-f |
--failed |
bool |
false |
Show only failed |
| running |
-r |
--running |
bool |
false |
Show only running |
| sort |
-s |
--sort |
Option<String> |
— |
Sort by field |
| json |
-j |
--json |
bool |
false |
Output as JSON |
| minimal |
-m |
--minimal |
bool |
false |
Minimal output |
csr service list
csr service list -a
csr service list -r
csr service list -f
csr service list -s name -j
csr service list --all --json --sort name
csr svc ls -a -j
Inspect service details. Requires --name.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Service name (required) |
| raw |
-r |
--raw |
bool |
false |
Show raw config |
| deps |
-d |
--deps |
bool |
false |
Show dependencies |
| pid |
-p |
--pid |
bool |
false |
Show PID info |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr service inspect -n greetd
csr service inspect -n greetd -d -p
csr service inspect --name greetd --deps --pid --json
View service logs.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
Option<String> |
— |
Service name |
| follow |
-f |
--follow |
bool |
false |
Follow log in real-time |
| lines |
-l |
--lines |
usize |
50 |
Number of lines |
| level |
-L |
--level |
Option<String> |
— |
Filter by level |
| grep |
-g |
--grep |
Option<String> |
— |
Grep pattern |
| since |
-S |
--since |
Option<String> |
— |
Show since timestamp |
csr service log -n greetd
csr service log -n greetd -f
csr service log -n greetd -l 100 -L CRITICAL
csr service log -n greetd -g "not found"
csr service log --name greetd --follow --lines 200
Show service config file. Requires --name.
csr service cat -n greetd
csr service cat --name udevd
Edit service config. Requires --name.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Service name (required) |
| editor |
-e |
--editor |
Option<String> |
— |
Editor to use |
csr service edit -n greetd
csr service edit -n greetd -e vim
Diff running vs on-disk config. Requires --name.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Service name (required) |
| running |
-r |
--running |
bool |
false |
Compare with running state |
csr service diff -n greetd
csr service diff --name greetd --running
Validate service configuration.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
Option<String> |
— |
Service name (omit for all) |
| all |
-a |
--all |
bool |
false |
Validate all services |
| strict |
-s |
--strict |
bool |
false |
Strict validation |
csr service validate -a
csr service validate -n greetd -s
csr service validate --all --strict
Create a new service config. Requires --name and --exec.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Service name (required) |
| exec |
-e |
--exec |
String |
— |
Exec path (required) |
| requires |
-r |
--requires |
Option<String> |
— |
Required services (comma-separated) |
| restart |
-R |
--restart |
Option<String> |
— |
Restart policy |
| socket |
-s |
--socket |
Option<String> |
— |
Socket activation spec |
| description |
-d |
--description |
Option<String> |
— |
Description |
| environment |
-E |
--environment |
Option<String> |
— |
Environment variables (space-separated KEY=VALUE) |
| working-directory |
-w |
--working-directory |
Option<String> |
— |
Working directory |
csr service create -n my-svc -e /usr/bin/my-svc
csr service create --name my-svc --exec /usr/bin/my-svc --requires udevd --restart always
csr service create -n my-svc -e /usr/bin/my-svc -r udevd,seatd -R always -s unix:/run/my-svc.sock -d "My service"
csr service create -n my-svc -e /usr/bin/my-svc -E "HOME=/var/lib/my-svc LOG_LEVEL=debug" -w /var/lib/my-svc
Remove a service. Requires --name.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Service name (required) |
| force |
-f |
--force |
bool |
false |
Force removal |
| purge |
-p |
--purge |
bool |
false |
Remove config files too |
csr service rm -n my-svc
csr service rm --name my-svc --force --purge
Monitor service health. Requires --name.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Service name (required) |
| interval |
-i |
--interval |
u64 |
1000 |
Poll interval in ms |
| threshold |
-t |
--threshold |
u32 |
3 |
Failure threshold before alert |
csr service monitor -n greetd
csr service monitor -n greetd -i 500 -t 5
csr service monitor --name greetd --interval 2000 --threshold 10
Watch service events in real-time.
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
Option<String> |
— |
Service name |
| events |
-e |
--events |
Option<String> |
— |
Event types to watch |
csr service watch
csr service watch -n greetd
csr service watch -e start,stop,fail
Show dependency tree.
| Flag |
Short |
Long |
Type |
Default |
Description |
| all |
-a |
--all |
bool |
false |
Show all services |
| flat |
-f |
--flat |
bool |
false |
Flat list output |
| graph |
-g |
--graph |
bool |
false |
ASCII graph output |
csr service tree
csr service tree -a
csr service tree -g
csr service tree --all --graph
csr svc dep -a -g
System-wide operations and control. Alias: sys
csr system <COMMAND>
Commands:
boot Boot the system with splash
shutdown Graceful shutdown
reboot Reboot the system
poweroff Power off the system
emergency Emergency mode
suspend Suspend to RAM
resume Resume from suspend
freeze Freeze all processes (cgroup freezer)
thaw Thaw frozen processes
mount Mount filesystem
umount Unmount filesystem
sync Sync filesystems
hostname Get/set hostname
uptime Show system uptime
kernel Kernel information
env Environment variable management
resource Resource monitoring
cgroup Cgroup management
device Device management
| Flag |
Short |
Long |
Type |
Default |
Description |
| splash |
-s |
--splash |
bool |
false |
Show splash screen |
| verbose |
-v |
--verbose |
bool |
false |
Verbose output |
| single |
-S |
--single |
bool |
false |
Single-user mode |
| emergency |
-e |
--emergency |
bool |
false |
Emergency boot |
csr system boot
csr system boot -s -v
csr system boot --single
csr system boot --emergency
| Flag |
Short |
Long |
Type |
Default |
Description |
| force |
-f |
--force |
bool |
false |
Force shutdown |
| timeout |
-t |
--timeout |
u64 |
60 |
Timeout in seconds |
| reboot |
-r |
--reboot |
bool |
false |
Reboot after shutdown |
csr system shutdown
csr system shutdown -f
csr system shutdown -t 30
csr system shutdown --force --timeout 120
| Flag |
Short |
Long |
Type |
Default |
Description |
| force |
-f |
--force |
bool |
false |
Force reboot |
| timeout |
-t |
--timeout |
u64 |
60 |
Timeout in seconds |
| mode |
-m |
--mode |
Option<String> |
— |
Reboot mode (warm/cold) |
csr system reboot
csr system reboot -f -t 30
csr system reboot --mode cold
| Flag |
Short |
Long |
Type |
Default |
Description |
| force |
-f |
--force |
bool |
false |
Force poweroff |
| timeout |
-t |
--timeout |
u64 |
60 |
Timeout in seconds |
csr system poweroff
csr system poweroff -f -t 10
| Flag |
Short |
Long |
Type |
Default |
Description |
| reason |
-r |
--reason |
Option<String> |
— |
Reason for emergency |
csr system emergency
csr system emergency -r "disk failure"
| Flag |
Short |
Long |
Type |
Default |
Description |
| hibernate |
-H |
--hibernate |
bool |
false |
Hibernate instead of suspend |
| hybrid |
-y |
--hybrid |
bool |
false |
Hybrid suspend |
csr system suspend
csr system suspend -H
csr system suspend --hybrid
No flags.
| Flag |
Short |
Long |
Type |
Default |
Description |
| timeout |
-t |
--timeout |
Option<u64> |
— |
Timeout in seconds |
csr system freeze
csr system freeze -t 60
No flags.
| Flag |
Short |
Long |
Type |
Default |
Description |
| source |
-s |
--source |
Option<String> |
— |
Source device/path |
| target |
-t |
--target |
Option<String> |
— |
Target mount point |
| type |
-T |
--type |
Option<String> |
— |
Filesystem type |
| options |
-o |
--options |
Option<String> |
— |
Mount options |
| recursive |
-r |
--recursive |
bool |
false |
Recursive mount |
| remount |
-R |
--remount |
bool |
false |
Remount |
csr system mount -s /dev/sda1 -t /mnt/data -T ext4
csr system mount --source /dev/sda1 --target /mnt/data --type ext4 --options rw,noatime
csr system mount -s /dev/sda1 -t /mnt/data -r
csr system mount -s /dev/sda1 -t /mnt/data -R
| Flag |
Short |
Long |
Type |
Default |
Description |
| target |
-t |
--target |
Option<String> |
— |
Target mount point |
| recursive |
-r |
--recursive |
bool |
false |
Recursive unmount |
| lazy |
-l |
--lazy |
bool |
false |
Lazy unmount |
| force |
-f |
--force |
bool |
false |
Force unmount |
| detach |
-d |
--detach |
bool |
false |
Detach loopback |
csr system umount -t /mnt/data
csr system umount -t /mnt/data -r
csr system umount -t /mnt/data -l -f
| Flag |
Short |
Long |
Type |
Default |
Description |
| file-systems |
-f |
--file-systems |
Option<String> |
— |
Sync specific filesystems |
| data |
-d |
--data |
bool |
false |
Sync data only (no metadata) |
csr system sync
csr system sync -f /home,/var
csr system sync --data
| Flag |
Short |
Long |
Type |
Default |
Description |
| set |
-s |
--set |
Option<String> |
— |
Set hostname |
| short |
-S |
--short |
bool |
false |
Show short hostname |
| long |
-l |
--long |
bool |
false |
Show long hostname |
| static |
-t |
--static |
bool |
false |
Show static hostname |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr system hostname
csr system hostname -s my-cudane
csr system hostname -S
csr system hostname -l
csr system hostname -j
csr system hostname --set my-cudane --json
| Flag |
Short |
Long |
Type |
Default |
Description |
| since |
-s |
--since |
bool |
false |
Show since boot time |
| seconds |
-S |
--seconds |
bool |
false |
Show in seconds |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr system uptime
csr system uptime -s
csr system uptime -S
csr system uptime -j
Subcommands: list (alias: ls), log, parameters (alias: parm), module
csr system kernel <SUBCOMMAND>
Subcommands:
list List kernel modules (alias: ls)
log Show kernel log (dmesg)
parameters Show kernel parameters (alias: parm)
module Module operations
csr system kernel list
csr system kernel ls
csr system kernel log -f -l 100
csr system kernel log --follow --lines 200 -L warning
csr system kernel parameters
csr system kernel parm -g vm
csr system kernel module -n usb-storage -l
csr system kernel module -n usb-storage -u
| Flag |
Short |
Long |
Type |
Default |
Description |
| set |
-s |
--set |
Option<String> |
— |
Set environment variable |
| get |
-g |
--get |
Option<String> |
— |
Get environment variable |
| unset |
-u |
--unset |
Option<String> |
— |
Unset environment variable |
| list |
-l |
--list |
bool |
false |
List all |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr system env -l
csr system env -g PATH
csr system env -s MY_VAR=hello
csr system env -u MY_VAR
csr system env --list --json
| Flag |
Short |
Long |
Type |
Default |
Description |
| type |
-t |
--type |
Option<String> |
— |
Resource type (cpu/memory/io/network) |
| interval |
-i |
--interval |
Option<u64> |
— |
Snapshot interval |
| format |
-f |
--format |
Option<String> |
— |
Output format |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr system resource
csr system resource -t memory
csr system resource -t cpu -i 5
csr system resource -j
| Flag |
Short |
Long |
Type |
Default |
Description |
| list |
-l |
--list |
bool |
false |
List cgroups |
| create |
-c |
--create |
Option<String> |
— |
Create cgroup |
| destroy |
-d |
--destroy |
Option<String> |
— |
Destroy cgroup |
| attach |
-a |
--attach |
Option<String> |
— |
Attach PID to cgroup |
| stats |
-s |
--stats |
Option<String> |
— |
Show cgroup stats |
| pids |
-p |
--pids |
Option<String> |
— |
PIDs to attach |
csr system cgroup -l
csr system cgroup -c my-cgroup
csr system cgroup -a my-cgroup -p 1234
csr system cgroup -s my-cgroup
csr system cgroup -d my-cgroup
| Flag |
Short |
Long |
Type |
Default |
Description |
| list |
-l |
--list |
bool |
false |
List devices |
| attach |
-a |
--attach |
Option<String> |
— |
Attach device |
| detach |
-d |
--detach |
Option<String> |
— |
Detach device |
| info |
-i |
--info |
Option<String> |
— |
Device info |
csr system device -l
csr system device -i sda
csr system device -a /dev/sdb
csr system device -d /dev/sdb
Configuration management. Alias: cfg
csr config <COMMAND>
Commands:
show Show configuration
get Get a config value
set Set a config value
edit Edit configuration file
diff Diff configurations
validate Validate configuration
import Import configuration
export Export configuration
backup Backup configuration
restore Restore configuration
schema Generate schema
migrate Migrate configuration
| Flag |
Short |
Long |
Type |
Default |
Description |
| format |
-f |
--format |
Option<String> |
— |
Output format |
| file |
-F |
--file |
Option<String> |
— |
Config file path |
| section |
-s |
--section |
Option<String> |
— |
Section filter |
csr config show
csr config show -s boot
csr config show -F /etc/cesar/services/udevd.ini
csr config show --format json
| Flag |
Short |
Long |
Type |
Default |
Description |
| key |
-k |
--key |
String |
— |
Key to get (required) |
| default |
-d |
--default |
Option<String> |
— |
Default value |
csr config get -k boot.timeout
csr config get --key boot.timeout --default 30
| Flag |
Short |
Long |
Type |
Default |
Description |
| key |
-k |
--key |
String |
— |
Key to set (required) |
| value |
-v |
--value |
String |
— |
Value to set (required) |
| file |
-F |
--file |
Option<String> |
— |
Config file |
csr config set -k boot.timeout -v 60
csr config set --key boot.verbose --value true -F /etc/cesar/config.ini
| Flag |
Short |
Long |
Type |
Default |
Description |
| file |
-F |
--file |
Option<String> |
— |
Config file |
| editor |
-e |
--editor |
Option<String> |
— |
Editor to use |
| validate |
-V |
--validate |
bool |
false |
Validate after edit |
csr config edit
csr config edit -F /etc/cesar/services/greetd.ini
csr config edit -e vim -V
| Flag |
Short |
Long |
Type |
Default |
Description |
| file |
-F |
--file |
Option<String> |
— |
Config file |
| target |
-t |
--target |
Option<String> |
— |
Target to compare |
| context |
-c |
--context |
Option<usize> |
— |
Context lines |
csr config diff -F /etc/cesar/services/greetd.ini -t /tmp/greetd.ini
csr config diff --context 5
| Flag |
Short |
Long |
Type |
Default |
Description |
| file |
-F |
--file |
Option<String> |
— |
Config file |
| schema |
-s |
--schema |
Option<String> |
— |
Schema file |
| strict |
-S |
--strict |
bool |
false |
Strict validation |
csr config validate
csr config validate -F /etc/cesar/services/greetd.ini -S
| Flag |
Short |
Long |
Type |
Default |
Description |
| file |
-f |
--file |
String |
— |
File to import (required) |
| format |
-F |
--format |
Option<String> |
— |
Import format |
| merge |
-m |
--merge |
bool |
false |
Merge with existing |
| overwrite |
-o |
--overwrite |
bool |
false |
Overwrite existing |
csr config import -f /tmp/backup.ini
csr config import -f /tmp/backup.ini -m -o
| Flag |
Short |
Long |
Type |
Default |
Description |
| format |
-f |
--format |
Option<String> |
— |
Export format |
| output |
-o |
--output |
Option<String> |
— |
Output file |
| all |
-a |
--all |
bool |
false |
Export all configs |
| sections |
-s |
--sections |
Option<String> |
— |
Sections to export |
csr config export -a
csr config export -o /tmp/config-backup.ini
csr config export -f json -o /tmp/config.json
| Flag |
Short |
Long |
Type |
Default |
Description |
| output |
-o |
--output |
Option<String> |
— |
Output path |
| compress |
-c |
--compress |
bool |
false |
Compress backup |
| include-logs |
-l |
--include-logs |
bool |
false |
Include logs |
csr config backup
csr config backup -o /tmp/cesar-backup.tar -c -l
| Flag |
Short |
Long |
Type |
Default |
Description |
| file |
-f |
--file |
String |
— |
Backup file (required) |
| force |
-F |
--force |
bool |
false |
Force restore |
| verify |
-v |
--verify |
bool |
false |
Verify integrity |
csr config restore -f /tmp/cesar-backup.tar
csr config restore -f /tmp/cesar-backup.tar -F -v
| Flag |
Short |
Long |
Type |
Default |
Description |
| generate |
-g |
--generate |
bool |
false |
Generate schema |
| validate |
-v |
--validate |
bool |
false |
Validate against schema |
| format |
-f |
--format |
Option<String> |
— |
Output format |
csr config schema -g
csr config schema -g -f json
csr config schema -v
| Flag |
Short |
Long |
Type |
Default |
Description |
| from |
-f |
--from |
Option<String> |
— |
Source version |
| to |
-t |
--to |
Option<String> |
— |
Target version |
| dry-run |
-d |
--dry-run |
bool |
false |
Dry run |
csr config migrate -f 0.0.6 -t 0.0.7
csr config migrate --from 0.0.6 --to 0.0.7 --dry-run
Unified Markdown log system. Alias: logs
csr log <COMMAND>
Commands:
view View log entries
tail Show last N lines
head Show first N lines
grep Search log entries
clear Clear log entries
rotate Rotate log files
archive Archive log entries
export Export log entries
follow Follow log in real-time
errors Show only errors
warnings Show only warnings
stats Log statistics
summary Log summary
| Flag |
Short |
Long |
Type |
Default |
Description |
| service |
-s |
--service |
Option<String> |
— |
Service filter |
| level |
-l |
--level |
Option<String> |
— |
Level filter |
| grep |
-g |
--grep |
Option<String> |
— |
Grep pattern |
| reverse |
-r |
--reverse |
bool |
false |
Show in reverse |
| lines |
-n |
--lines |
usize |
100 |
Lines limit |
| since |
-S |
--since |
Option<String> |
— |
Show since timestamp |
| until |
-U |
--until |
Option<String> |
— |
Show until timestamp |
csr log view
csr log view -s greetd -l CRITICAL
csr log view -g "not found" -r -n 50
csr log view -S "2026-07-13T00:00:00"
csr log view --service udevd --level WARNING --lines 200
| Flag |
Short |
Long |
Type |
Default |
Description |
| lines |
-n |
--lines |
usize |
50 |
Number of lines |
| service |
-s |
--service |
Option<String> |
— |
Service filter |
| follow |
-f |
--follow |
bool |
false |
Follow mode |
| sleep |
-S |
--sleep |
u64 |
1 |
Sleep interval for follow |
csr log tail
csr log tail -n 100
csr log tail -s greetd -f
csr log tail --lines 200 --follow --sleep 2
| Flag |
Short |
Long |
Type |
Default |
Description |
| lines |
-n |
--lines |
usize |
50 |
Number of lines |
| service |
-s |
--service |
Option<String> |
— |
Service filter |
csr log head
csr log head -n 20
csr log head -s udevd
| Flag |
Short |
Long |
Type |
Default |
Description |
| pattern |
-p |
--pattern |
String |
— |
Search pattern (required) |
| service |
-s |
--service |
Option<String> |
— |
Service filter |
| level |
-l |
--level |
Option<String> |
— |
Level filter |
| context |
-c |
--context |
Option<usize> |
— |
Context lines |
| count |
-C |
--count |
bool |
false |
Count only |
csr log grep -p "not found"
csr log grep -p "CRITICAL" -s greetd -c 3
csr log grep -p "timeout" -C
| Flag |
Short |
Long |
Type |
Default |
Description |
| service |
-s |
--service |
Option<String> |
— |
Service filter |
| before |
-b |
--before |
Option<String> |
— |
Clear entries before timestamp |
| yes |
-y |
--yes |
bool |
false |
Skip confirmation |
csr log clear -y
csr log clear -s udevd -y
csr log clear -b "2026-07-13T00:00:00" -y
| Flag |
Short |
Long |
Type |
Default |
Description |
| max-size |
-s |
--max-size |
usize |
10 |
Max file size in MB |
| compress |
-c |
--compress |
bool |
false |
Compress rotated logs |
| archive |
-a |
--archive |
Option<String> |
— |
Archive directory |
| keep |
-k |
--keep |
usize |
5 |
Keep N rotated files |
csr log rotate
csr log rotate -s 20 -c -k 10
csr log rotate --max-size 50 --compress --archive /var/log/cesar/
| Flag |
Short |
Long |
Type |
Default |
Description |
| format |
-f |
--format |
Option<String> |
— |
Output format |
| output |
-o |
--output |
Option<String> |
— |
Output file |
| since |
-S |
--since |
Option<String> |
— |
Since timestamp |
| until |
-U |
--until |
Option<String> |
— |
Until timestamp |
| compress |
-c |
--compress |
bool |
false |
Compress archive |
csr log archive -o /tmp/cesar-logs.tar
csr log archive -S "2026-07-01" -U "2026-07-13" -c
| Flag |
Short |
Long |
Type |
Default |
Description |
| format |
-f |
--format |
Option<String> |
— |
Output format |
| output |
-o |
--output |
Option<String> |
— |
Output file |
| service |
-s |
--service |
Option<String> |
— |
Service filter |
| level |
-l |
--level |
Option<String> |
— |
Level filter |
csr log export -f json -o /tmp/cesar-logs.json
csr log export -s greetd -l CRITICAL -o /tmp/greetd-errors.md
| Flag |
Short |
Long |
Type |
Default |
Description |
| service |
-s |
--service |
Option<String> |
— |
Service filter |
| level |
-l |
--level |
Option<String> |
— |
Level filter |
| grep |
-g |
--grep |
Option<String> |
— |
Grep pattern |
| sleep |
-S |
--sleep |
u64 |
1 |
Sleep interval |
csr log follow
csr log follow -s greetd -l CRITICAL
csr log follow -g "error" -S 2
| Flag |
Short |
Long |
Type |
Default |
Description |
| service |
-s |
--service |
Option<String> |
— |
Service filter |
| context |
-c |
--context |
Option<usize> |
— |
Context lines |
| group |
-g |
--group |
bool |
false |
Group by service |
| top |
-t |
--top |
Option<usize> |
— |
Top N errors |
csr log errors
csr log errors -s greetd -c 3
csr log errors -g -t 10
| Flag |
Short |
Long |
Type |
Default |
Description |
| service |
-s |
--service |
Option<String> |
— |
Service filter |
| context |
-c |
--context |
Option<usize> |
— |
Context lines |
| group |
-g |
--group |
bool |
false |
Group by service |
| top |
-t |
--top |
Option<usize> |
— |
Top N warnings |
csr log warnings
csr log warnings -g -t 5
| Flag |
Short |
Long |
Type |
Default |
Description |
| service |
-s |
--service |
Option<String> |
— |
Service filter |
| period |
-p |
--period |
Option<String> |
— |
Time period |
| format |
-f |
--format |
Option<String> |
— |
Output format |
csr log stats
csr log stats -s greetd -p 24h
| Flag |
Short |
Long |
Type |
Default |
Description |
| since |
-S |
--since |
Option<String> |
— |
Since timestamp |
| until |
-U |
--until |
Option<String> |
— |
Until timestamp |
| format |
-f |
--format |
Option<String> |
— |
Output format |
| top |
-t |
--top |
Option<usize> |
— |
Top N entries |
csr log summary
csr log summary -S "2026-07-13" -t 10
Socket activation and monitoring. Alias: sock
csr socket <COMMAND>
Commands:
list List sockets (alias: ls)
status Show socket status
create Create a socket
destroy Destroy a socket
monitor Monitor socket activity
trace Trace socket events
activate Activate a socket
query Query socket
| Flag |
Short |
Long |
Type |
Default |
Description |
| type |
-t |
--type |
Option<String> |
— |
Socket type filter |
| state |
-s |
--state |
Option<String> |
— |
State filter |
| service |
-S |
--service |
Option<String> |
— |
Service filter |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr socket list
csr socket ls -t unix
csr socket list -s listening -S greetd -j
| Flag |
Short |
Long |
Type |
Default |
Description |
| path |
-p |
--path |
Option<String> |
— |
Socket path |
| verbose |
-v |
--verbose |
bool |
false |
Verbose output |
csr socket status -p /run/cesar.sock
csr socket status -p /run/cesar.sock -v
| Flag |
Short |
Long |
Type |
Default |
Description |
| path |
-p |
--path |
String |
— |
Socket path (required) |
| type |
-t |
--type |
Option<String> |
— |
Socket type |
| backlog |
-b |
--backlog |
i32 |
128 |
Backlog size |
| service |
-s |
--service |
Option<String> |
— |
Associated service |
csr socket create -p /run/my-svc.sock
csr socket create -p /run/my-svc.sock -t unix -b 256 -s my-svc
| Flag |
Short |
Long |
Type |
Default |
Description |
| path |
-p |
--path |
String |
— |
Socket path (required) |
| force |
-f |
--force |
bool |
false |
Force destruction |
csr socket destroy -p /run/my-svc.sock
csr socket destroy -p /run/my-svc.sock -f
| Flag |
Short |
Long |
Type |
Default |
Description |
| path |
-p |
--path |
String |
— |
Socket path (required) |
| interval |
-i |
--interval |
u64 |
1000 |
Poll interval |
| events |
-e |
--events |
Option<String> |
— |
Event types |
csr socket monitor -p /run/cesar.sock
csr socket monitor -p /run/cesar.sock -i 500 -e connect,disconnect
| Flag |
Short |
Long |
Type |
Default |
Description |
| path |
-p |
--path |
String |
— |
Socket path (required) |
| duration |
-d |
--duration |
Option<u64> |
— |
Duration in seconds |
| filter |
-f |
--filter |
Option<String> |
— |
Filter expression |
csr socket trace -p /run/cesar.sock
csr socket trace -p /run/cesar.sock -d 30 -f "type == connect"
| Flag |
Short |
Long |
Type |
Default |
Description |
| path |
-p |
--path |
String |
— |
Socket path (required) |
| service |
-s |
--service |
Option<String> |
— |
Service to activate |
| one-shot |
-o |
--one-shot |
bool |
false |
One-shot mode |
csr socket activate -p /run/cesar.sock
csr socket activate -p /run/cesar.sock -s my-svc -o
| Flag |
Short |
Long |
Type |
Default |
Description |
| path |
-p |
--path |
String |
— |
Socket path (required) |
| data |
-d |
--data |
Option<String> |
— |
Data to send |
| timeout |
-t |
--timeout |
u64 |
5 |
Timeout |
| non-blocking |
-n |
--non-blocking |
bool |
false |
Non-blocking mode |
csr socket query -p /run/cesar.sock
csr socket query -p /run/cesar.sock -d "hello" -t 10
csr socket query -p /run/cesar.sock -d "ping" -n
Daemon process management. Alias: dmon
csr daemon <COMMAND>
Commands:
start Start a daemon
stop Stop a daemon
restart Restart a daemon
status Daemon status
list List daemons (alias: ls)
log Daemon logs
install Install a daemon
uninstall Uninstall a daemon
update Update a daemon
rollback Rollback a daemon
pin Pin daemon version
trust Trust management
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Daemon name (required) |
| wait |
-w |
--wait |
bool |
false |
Wait for daemon |
| timeout |
-t |
--timeout |
u64 |
30 |
Timeout in seconds |
csr daemon start -n my-daemon
csr daemon start -n my-daemon -w -t 60
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Daemon name (required) |
| force |
-f |
--force |
bool |
false |
Force stop |
| timeout |
-t |
--timeout |
u64 |
30 |
Timeout in seconds |
csr daemon stop -n my-daemon
csr daemon stop -n my-daemon -f -t 10
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Daemon name (required) |
| force |
-f |
--force |
bool |
false |
Force restart |
| timeout |
-t |
--timeout |
u64 |
30 |
Timeout in seconds |
csr daemon restart -n my-daemon
csr daemon restart -n my-daemon -f
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
Option<String> |
— |
Daemon name |
| all |
-a |
--all |
bool |
false |
Show all |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr daemon status
csr daemon status -n my-daemon
csr daemon status -a -j
| Flag |
Short |
Long |
Type |
Default |
Description |
| all |
-a |
--all |
bool |
false |
Show all |
| running |
-r |
--running |
bool |
false |
Show only running |
| failed |
-f |
--failed |
bool |
false |
Show only failed |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr daemon list
csr daemon ls -a -j
csr daemon list -r -f
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Daemon name (required) |
| follow |
-f |
--follow |
bool |
false |
Follow log |
| lines |
-l |
--lines |
usize |
50 |
Number of lines |
csr daemon log -n my-daemon
csr daemon log -n my-daemon -f -l 100
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Daemon name (required) |
| from |
-f |
--from |
Option<String> |
— |
Source |
| enable |
-e |
--enable |
bool |
false |
Enable after install |
| start |
-s |
--start |
bool |
false |
Start after install |
csr daemon install -n my-daemon
csr daemon install -n my-daemon -f /opt/my-daemon -e -s
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Daemon name (required) |
| stop |
-s |
--stop |
bool |
false |
Stop before uninstall |
| purge |
-p |
--purge |
bool |
false |
Purge all data |
csr daemon uninstall -n my-daemon
csr daemon uninstall -n my-daemon -s -p
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Daemon name (required) |
| from |
-f |
--from |
Option<String> |
— |
Source |
| force |
-F |
--force |
bool |
false |
Force update |
csr daemon update -n my-daemon
csr daemon update -n my-daemon -f /opt/new-version -F
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Daemon name (required) |
| to-revision |
-r |
--to-revision |
Option<String> |
— |
Target revision |
csr daemon rollback -n my-daemon
csr daemon rollback -n my-daemon -r v1.0.0
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Daemon name (required) |
| version |
-v |
--version |
Option<String> |
— |
Version to pin |
csr daemon pin -n my-daemon -v 1.0.0
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Daemon name (required) |
| key |
-k |
--key |
Option<String> |
— |
Trust key |
| verify |
-v |
--verify |
bool |
false |
Verify trust |
csr daemon trust -n my-daemon -k /path/to/key.pub
csr daemon trust -n my-daemon -v
System snapshots and state management. Alias: snap
csr snapshot <COMMAND>
Commands:
create Create a snapshot
list List snapshots (alias: ls)
restore Restore a snapshot
delete Delete a snapshot
diff Diff two snapshots
export Export a snapshot
import Import a snapshot
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Snapshot name (required) |
| description |
-d |
--description |
Option<String> |
— |
Description |
| services |
-s |
--services |
Option<String> |
— |
Services to include |
| include-logs |
-l |
--include-logs |
bool |
false |
Include logs |
csr snapshot create -n before-update
csr snapshot create -n before-update -d "Before major update" -s greetd,pipewire -l
| Flag |
Short |
Long |
Type |
Default |
Description |
| all |
-a |
--all |
bool |
false |
Show all |
| recent |
-r |
--recent |
bool |
false |
Show recent only |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr snapshot list
csr snapshot ls -a -j
csr snapshot list -r
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Snapshot name (required) |
| force |
-f |
--force |
bool |
false |
Force restore |
| dry-run |
-d |
--dry-run |
bool |
false |
Dry run |
csr snapshot restore -n before-update
csr snapshot restore -n before-update -f
csr snapshot restore -n before-update -d
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Snapshot name (required) |
| force |
-f |
--force |
bool |
false |
Force deletion |
csr snapshot delete -n before-update
csr snapshot delete -n before-update -f
| Flag |
Short |
Long |
Type |
Default |
Description |
| from |
-f |
--from |
String |
— |
From snapshot (required) |
| to |
-t |
--to |
String |
— |
To snapshot (required) |
| services |
-s |
--services |
Option<String> |
— |
Services to compare |
csr snapshot diff -f before-update -t latest
csr snapshot diff --from before-update --to latest --services greetd,pipewire
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
String |
— |
Snapshot name (required) |
| output |
-o |
--output |
String |
— |
Output file (required) |
| format |
-f |
--format |
Option<String> |
— |
Export format |
csr snapshot export -n before-update -o /tmp/snapshot.tar
csr snapshot export -n before-update -o /tmp/snapshot.json -f json
| Flag |
Short |
Long |
Type |
Default |
Description |
| file |
-f |
--file |
String |
— |
Import file (required) |
| name |
-n |
--name |
Option<String> |
— |
Snapshot name |
| force |
-F |
--force |
bool |
false |
Force import |
csr snapshot import -f /tmp/snapshot.tar
csr snapshot import -f /tmp/snapshot.tar -n my-snapshot -F
Security auditing and policy enforcement. Alias: sec
csr security <COMMAND>
Commands:
audit Run security audit
scan Security scan
policy Security policy
cap Capability management
seccomp Seccomp filter management
sandbox Sandbox management
trust Trust key management
| Flag |
Short |
Long |
Type |
Default |
Description |
| all |
-a |
--all |
bool |
false |
Audit all |
| services |
-s |
--services |
bool |
false |
Audit services |
| config |
-c |
--config |
bool |
false |
Audit config |
| network |
-n |
--network |
bool |
false |
Audit network |
csr security audit -a
csr security audit -s -c -n
csr security audit --services --config
| Flag |
Short |
Long |
Type |
Default |
Description |
| targets |
-t |
--targets |
Option<String> |
— |
Scan targets |
| severity |
-s |
--severity |
Option<String> |
— |
Severity filter |
| fix |
-f |
--fix |
bool |
false |
Auto-fix issues |
csr security scan
csr security scan -t /usr/bin -s critical
csr security scan -f
| Flag |
Short |
Long |
Type |
Default |
Description |
| show |
-s |
--show |
bool |
false |
Show current policy |
| set |
-S |
--set |
Option<String> |
— |
Set policy |
| validate |
-v |
--validate |
bool |
false |
Validate policy |
csr security policy -s
csr security policy -S strict
csr security policy -v
| Flag |
Short |
Long |
Type |
Default |
Description |
| list |
-l |
--list |
bool |
false |
List capabilities |
| add |
-a |
--add |
Option<String> |
— |
Add capability |
| drop |
-d |
--drop |
Option<String> |
— |
Drop capability |
| pid |
-p |
--pid |
Option<u32> |
— |
Target PID |
csr security cap -l
csr security cap -a cap_net_bind_service -p 1234
csr security cap -d cap_sys_admin -p 1234
| Flag |
Short |
Long |
Type |
Default |
Description |
| list |
-l |
--list |
bool |
false |
List filters |
| apply |
-a |
--apply |
Option<String> |
— |
Apply filter |
| dump |
-d |
--dump |
Option<String> |
— |
Dump filter |
| pid |
-p |
--pid |
Option<u32> |
— |
Target PID |
csr security seccomp -l
csr security seccomp -a strict -p 1234
csr security seccomp -d default
| Flag |
Short |
Long |
Type |
Default |
Description |
| create |
-c |
--create |
Option<String> |
— |
Create sandbox |
| destroy |
-d |
--destroy |
Option<String> |
— |
Destroy sandbox |
| list |
-l |
--list |
bool |
false |
List sandboxes |
| info |
-i |
--info |
Option<String> |
— |
Sandbox info |
csr security sandbox -l
csr security sandbox -c my-sandbox
csr security sandbox -i my-sandbox
csr security sandbox -d my-sandbox
| Flag |
Short |
Long |
Type |
Default |
Description |
| keys |
-k |
--keys |
bool |
false |
List trust keys |
| add |
-a |
--add |
Option<String> |
— |
Add trust key |
| remove |
-r |
--remove |
Option<String> |
— |
Remove trust key |
| verify |
-v |
--verify |
bool |
false |
Verify trust |
csr security trust -k
csr security trust -a /path/to/key.pub
csr security trust -r my-key
csr security trust -v
Query system state and information. Alias: qry
csr query <COMMAND>
Commands:
service Query service information
boot Query boot information
system Query system information
dependency Query dependencies
history Query history
resource Query resource usage
health Health check
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
Option<String> |
— |
Service name |
| format |
-f |
--format |
Option<String> |
— |
Output format |
| fields |
-F |
--fields |
Option<String> |
— |
Fields to show |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr query service
csr query service -n greetd
csr query service -n greetd -F name,pid,state -j
| Flag |
Short |
Long |
Type |
Default |
Description |
| phase |
-p |
--phase |
Option<String> |
— |
Boot phase |
| time |
-t |
--time |
bool |
false |
Show boot time |
| errors |
-e |
--errors |
bool |
false |
Show boot errors |
| format |
-f |
--format |
Option<String> |
— |
Output format |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr query boot
csr query boot -t -e
csr query boot -p services -j
| Flag |
Short |
Long |
Type |
Default |
Description |
| all |
-a |
--all |
bool |
false |
Show all |
| format |
-f |
--format |
Option<String> |
— |
Output format |
| fields |
-F |
--fields |
Option<String> |
— |
Fields to show |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr query system
csr query system -a -j
csr query system -F hostname,uptime,arch
| Flag |
Short |
Long |
Type |
Default |
Description |
| name |
-n |
--name |
Option<String> |
— |
Service name |
| reverse |
-r |
--reverse |
bool |
false |
Show reverse deps |
| format |
-f |
--format |
Option<String> |
— |
Output format |
| graph |
-g |
--graph |
bool |
false |
Show as graph |
csr query dependency
csr query dependency -n greetd
csr query dependency -n greetd -r -g
| Flag |
Short |
Long |
Type |
Default |
Description |
| limit |
-l |
--limit |
usize |
20 |
Limit entries |
| format |
-f |
--format |
Option<String> |
— |
Output format |
| events |
-e |
--events |
Option<String> |
— |
Event filter |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr query history
csr query history -l 50 -e start,stop
csr query history -j
| Flag |
Short |
Long |
Type |
Default |
Description |
| type |
-t |
--type |
Option<String> |
— |
Resource type |
| interval |
-i |
--interval |
Option<u64> |
— |
Snapshot interval |
| format |
-f |
--format |
Option<String> |
— |
Output format |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr query resource
csr query resource -t memory -i 5 -j
| Flag |
Short |
Long |
Type |
Default |
Description |
| all |
-a |
--all |
bool |
false |
Check all |
| service |
-s |
--service |
Option<String> |
— |
Service to check |
| format |
-f |
--format |
Option<String> |
— |
Output format |
| json |
-j |
--json |
bool |
false |
Output as JSON |
csr query health -a
csr query health -s greetd -j
Debugging and diagnostic tools. Alias: dbg
csr debug <COMMAND>
Commands:
trace Trace a process
strace Strace-like tracing
dump Dump system state
core Core dump analysis
profile Profile a process
stress Stress test
test Run self-tests
| Flag |
Short |
Long |
Type |
Default |
Description |
| pid |
-p |
--pid |
u32 |
— |
Process ID (required) |
| signal |
-s |
--signal |
Option<String> |
— |
Signal to send |
| output |
-o |
--output |
Option<String> |
— |
Output file |
csr debug trace -p 1234
csr debug trace -p 1234 -s SIGUSR1 -o /tmp/trace.log
| Flag |
Short |
Long |
Type |
Default |
Description |
| pid |
-p |
--pid |
u32 |
— |
Process ID (required) |
| filter |
-f |
--filter |
Option<String> |
— |
Filter expression |
| output |
-o |
--output |
Option<String> |
— |
Output file |
| timeout |
-t |
--timeout |
Option<u64> |
— |
Timeout in seconds |
csr debug strace -p 1234
csr debug strace -p 1234 -f "open,read,write" -o /tmp/strace.log -t 30
| Flag |
Short |
Long |
Type |
Default |
Description |
| all |
-a |
--all |
bool |
false |
Dump all |
| services |
-s |
--services |
bool |
false |
Dump services |
| format |
-f |
--format |
Option<String> |
— |
Output format |
| output |
-o |
--output |
Option<String> |
— |
Output file |
csr debug dump -a
csr debug dump -s -f json -o /tmp/state.json
| Flag |
Short |
Long |
Type |
Default |
Description |
| pid |
-p |
--pid |
u32 |
— |
Process ID (required) |
| output |
-o |
--output |
Option<String> |
— |
Output file |
| limit |
-l |
--limit |
Option<usize> |
— |
Output limit |
csr debug core -p 1234
csr debug core -p 1234 -o /tmp/core.log -l 500
| Flag |
Short |
Long |
Type |
Default |
Description |
| pid |
-p |
--pid |
u32 |
— |
Process ID (required) |
| duration |
-d |
--duration |
u64 |
10 |
Duration in seconds |
| frequency |
-f |
--frequency |
u32 |
99 |
Sampling frequency |
| output |
-o |
--output |
Option<String> |
— |
Output file |
csr debug profile -p 1234
csr debug profile -p 1234 -d 30 -f 999 -o /tmp/profile.folded
| Flag |
Short |
Long |
Type |
Default |
Description |
| cpu |
-c |
--cpu |
bool |
false |
CPU stress |
| memory |
-m |
--memory |
bool |
false |
Memory stress |
| io |
-i |
--io |
bool |
false |
I/O stress |
| duration |
-d |
--duration |
u64 |
30 |
Duration in seconds |
csr debug stress -c -m -d 60
csr debug stress --io --duration 120
| Flag |
Short |
Long |
Type |
Default |
Description |
| module |
-m |
--module |
Option<String> |
— |
Module to test |
| all |
-a |
--all |
bool |
false |
Run all tests |
| verbose |
-v |
--verbose |
bool |
false |
Verbose output |
csr debug test -a
csr debug test -m config -v
csr debug test --all --verbose
Cesar self-management. Alias: me
csr self <COMMAND>
Commands:
status Cesar status
update Self-update
version Version information
completions Generate completions
config Cesar configuration
Shows PID, role, uptime, and runs built-in health checks (kernel, filesystems, disk, service configs, zombies, TCP listeners).
| Flag |
Short |
Long |
Type |
Default |
Description |
| verbose |
-v |
--verbose |
bool |
false |
Verbose output |
csr self status
csr self status -v
Health checks run automatically:
- On boot: silently, issues logged to
/var/log/cesar.md
- On
self status: displayed inline with [CTX] and [FIX] for each issue
| Flag |
Short |
Long |
Type |
Default |
Description |
| force |
-f |
--force |
bool |
false |
Force update |
| check |
-c |
--check |
bool |
false |
Check only (don't update) |
| channel |
-C |
--channel |
Option<String> |
— |
Update channel |
csr self update
csr self update -f
csr self update -c
csr self update --channel stable
| Flag |
Short |
Long |
Type |
Default |
Description |
| json |
-j |
--json |
bool |
false |
Output as JSON |
| short |
-s |
--short |
bool |
false |
Short output |
csr self version
csr self version -j
csr self version -s
| Flag |
Short |
Long |
Type |
Default |
Description |
| shell |
-s |
--shell |
Option<String> |
— |
Shell type (bash/zsh/fish) |
| output |
-o |
--output |
Option<String> |
— |
Output file |
csr self completions -s bash
csr self completions -s zsh -o ~/.zsh/completions/_cs
csr self completions -s fish -o ~/.config/fish/completions/csr.fish
| Flag |
Short |
Long |
Type |
Default |
Description |
| show |
-s |
--show |
bool |
false |
Show configuration |
| set |
-S |
--set |
Option<String> |
— |
Set configuration |
| get |
-g |
--get |
Option<String> |
— |
Get configuration |
csr self config -s
csr self config -g boot.verbose
csr self config -S boot.verbose=true