Skip to content

slaclab/sdf-cli

Repository files navigation

SDF-CLI

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.

Features

  • TBD

Development

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.

Installation

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

Usage

./sdf.py

CoactD

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.

About

Command line tools for S3DF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •