This repo contains command line tools for the SDF to provide a single resource from which all user and administrative tools can be accessed from.
- TBD
This is based upon the cliff command line frameworkwhich provides a clean separation of Command classes from which we can create a hierarchy of commands ala git etc. so that we may provide a logical noun-verb syntax to our utilities.
We create a high level abstration for the cliff App class such that provide one more level of command in this command tree. This is implemented as a MultiApp class that should be instantiated with a List of command_managers - their __name__ should be unique.
We probably want to containerize this, but in lieu:
run from host that can download stuff from the web, or use a proxy
sudo make deps
then install the main app
export HTTPS_PROXY=http://sdfproxy.sdf.slac.stanford.edu:3128
then run
make apply
./sdf.py
to provide the microservice abstration of user and disk requests from coact, we provide a daemon in sdf-cli to enact the required workflows for new user and repo registrations.
to run, do
❯ SDF_COACT_URI=wss://coact-dev.slac.stanford.edu/graphql-service ./sdf.py coactd get
note that the uri scheme is wss.