casedis 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.
casedis Python 3.5 or better. There are several easy ways to install the program.
casedprogram system-wide (or into a
virtualenv) with pip:
cased-init, which will then be available on your
initscript) runs every time a shell starts. To do that, just add this line to your
~/.zshrc, or similar file:
casedand 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 syncto keep your local guarded programs up-to-date with your remote configuration. However, even if you don't do this, the
casedclient will still check its remote server for updates whenever it is invoked.
api.cased.com. To change that url, just set with:
caseddoes expose some low-level plumbing commands:
eval "$(cased-init -)"from your shell startup script, and open a new shell. Programs will no longer be guarded.
~/.cguard/directory, where the client stores data, although this isn't strictly necessary. You can also remove the
cased-initprograms, which are likely in
/usr/local/bin/or a similar location (try
which cased-initto find their location.)