🚀 Socket Launch Week 🚀 Day 1: Introducing .NET Support in Socket.Learn More
Socket
Sign inDemoInstall
Socket

ldcli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ldcli

Fullstack's Learn Dot CLI

0.0.1
latest
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

ldcli - Learn Dot CLI

Workshop Exporter and Importer for Learn Dot

Installation:

git clone https://github.com/FullstackAcademy/ldcli
cd ldcli
npm link 

If npm is set up correctly this will make ldcli available as a command line tool and npm installable from the repos. To clone a LearnDot Repo, do this:

Download a Workshop

# this creates a directory that's ready for importing a workshop
ldcli start auther 
cd auther

# that's the Workshop ID from Learn Dot
ldcli import 55db96d6c1565e0300b63a76 
git commit -am 'initial'

Making/Uploading Changes

Once you make your changes, you can:

git commit -am 'changes'
git push
ldcli validate # make sure the files are set up correctly
ldcli upload # uploads it back into LearnDot

CLI Tool

Output of ldcli



  Usage: ldcli [options] [command]

  Learn Dot Command Line Interface for Workshops


  Options:

    -V, --version  output the version number
    -h, --help     output usage information


  Commands:

    auth                                          Save API credentials to ~/.learn.token
    start <dir>                                   Create a directory ready for a workshop
    import [options] <workshop-id>                Import a Learn Dot workshop into output-dir (concepts/ default)
    validate [workshop-def-file] [workshop-slug]  Validate workshop (default is to look for workshop in index.js)
    upload [workshop-def-file] [workshop-slug]    Upload workshop (will also validate and stop if validation fails).
 

FAQs

Package last updated on 25 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts