xod icon indicating copy to clipboard operation
xod copied to clipboard

As a CLI user I want to install libs like IDE users do with File → Add Library

Open nkrkv opened this issue 6 years ago • 0 comments

Rationale

There’s currently no way to install XOD libraries with xodc.

Usage

installs a XOD library to the workspace

USAGE
  $ xodc install:lib [options] <LIB>

ARGUMENTS
  LIB
      Full owner/libname as shown at https://xod.io/libs/. May be specified multiple times
      to install several libraries at once

OPTIONS
  -V, --version         show CLI version
  -h, --help            show CLI help
  -q, --quiet           do not log messages other than errors
  -w, --workspace=path  [default: ~/xod] use the workspace specified, defaults to $HOME/xod

EXAMPLES
  xodc install:lib bradzilla84/sleepydog

Acceptance criteria

  • [ ] I can install a library specified
  • [ ] I can install multiple libraries at once
  • [ ] #pragma XOD require directives are handled and the dependencies are installed
  • [ ] xodc exits with non-zero code if a library can’t be installed
  • [ ] Wrong-format library name is handled gracefully
  • [ ] Unexisting library name is handled gracefully
  • [ ] Network problem is handled gracefully

nkrkv avatar Jan 15 '19 13:01 nkrkv