Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Extensions #740

Merged
merged 3 commits into from
May 10, 2017
Merged

Add Extensions #740

merged 3 commits into from
May 10, 2017

Conversation

joehand
Copy link
Collaborator

@joehand joehand commented May 10, 2017

Spawn dat-* extensions.

  • Why? Easier to develop new features, easier for other folks to create + develop neat cli tools, more modular =).
  • Extensions are whitelisted, and this PR ships with just dat-ls. It'd be good to keep the CLI experience consistent even with extensions.
❯ npm install -g dat-ls

# run via dat
❯ dat ls 9df37b9d9fe852dd0236a0736c05210fb5c526dba114128e2e142a0c429a66de
Dat contains 10 changes

00 [put]  / (0 B, 0 blocks)
04 [put]  /dat.json (87 B, 1 block)
05 [put]  /index.html (51 B, 1 block)

Total content size: 138 B (452 B metadata)

@joehand joehand merged commit acf3aa6 into master May 10, 2017
@joehand joehand deleted the extensions branch May 10, 2017 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant