New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dat-shell

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dat-shell

Dat shell. Open a remote dat and explore with cd, ls, etc.

Source
npmnpm
Version
0.1.4
Version published
Weekly downloads
10
400%
Maintainers
1
Weekly downloads
 
Created
Source

dat-shell

Build Status Coverage Status Dependency Status

Dat shell. Open a remote dat and explore with cd, ls, etc.

dat-shell is part of the dat Peer-to-Peer universe. It's useful to explore remote dats by their key without having to download them. Think of it as bash for dats, letting you cd, ls and cp at will.

Install

$ npm install --global dat-shell

Requirements

You'll need node 8.9.1 (LTS) or above. I suggest using n-install to install the n node version manager.

You'll probably need git too since we're using my (temporary) fork of glob to support hyperdrives (dat archives), and that fork is only available on github and not (yet) on npm.

Usage

$ dat-shell <dat-key> # dat-key is optionnal

Upgrading

The cli now uses update-notifier to let the user know about updates to this program.

Users have the ability to opt-out of the update notifier by changing the optOut property to true in ~/.config/configstore/update-notifier-dat-shell.json. The path is available in notifier.config.path.

Users can also opt-out by setting the environment variable NO_UPDATE_NOTIFIER with any value or by using the --no-update-notifier flag on a per run basis.

To upgrade, simply

$ npm install --global dat-shell

TODO

There's lots to do, classified here in bugs and features.

Bugs

  • Add custom command completion
  • Improve ls handling (arguments, long version, etc.)
  • Improve args quoting (à la bash)
  • Improve error messages

Features

  • Add cp command
  • Add cat command
  • Add more command
  • Add tail command
  • Add tree command
  • Improve help, add long command descriptions
  • Colors
  • Make all commands async (promises)
  • Improve user responses
  • Make prompt configurable (à la bash)
  • Unit tests, travis, coveralls
  • Gemnasium batch
  • Enable usage as: dat-shell KEY ls (non-interactive)
  • Support plugins
  • Add debugging options and output
  • Evaluate shelljs for integration
  • Evaluate cash for integration
  • Evaluate vorpal for integration

License

AGPL-v3 © 2017 Robin Millette

FAQs

Package last updated on 05 Dec 2017

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