cased
is the command-line tool for configuring and running Cased CLI. It works via simple shims that wrap your other command-line programs. It handles the hard parts of configuring these shims, and keeps itself up-to-date with changes and additions to your remote Cased configuration.cased
and cased-init
, which will then be available on your PATH.cased-init
(a single-purpose init script) runs every time a shell starts. To do that, just add this line to your ~/.bashrc
, ~/.zshrc
, or similar file:cased
and configured it, you're all set. Just run your programs as usual, and any that have been configured by your Cased server will run under cased.cased sync
to keep your local guarded programs up-to-date with your remote configuration. However, even if you don't do this, the cased client will still check its remote server for updates whenever it is invoked.https://api.cased.com
. To change that url, just set with:eval "$(cased-init -)"
from your shell startup script, and open a new shell. Programs will no longer be guarded.rm
the ~/.cguard/
directory, where the client stores data, although this isn't strictly necessary. You can also remove the cased
and cased-init
programs, which are likely in /usr/local/bin/
or a similar location (try which cased
and which cased-init
to find their location.)