Comments (6)
This was done by @prabodhmeshram in #5.
Thank you for contributing! 🎉
from orbit-db-cli.
Hi @haadcode, I could take a stab on this.
from orbit-db-cli.
@prabodhmeshram absolutely! Thanks you for jumping in ❤️
Take a look at the commands in src/commands/
for a reference, perhaps id
is a good example.
What you should do is add version.js
to src/commands/
and put everything in that one file. It'd be great to have one test for this (just to make sure it return the right version number and works). See test/
for a test example.
Is that enough for you to get started?
from orbit-db-cli.
@prabodhmeshram note that I just merged a new version to master, you should use that as your starting point.
from orbit-db-cli.
Sure @haadcode, Thanks for the info. Well I did forked the repo and started to look into the application structure. I tried to install the cli through npm and github as mentioned in the readme, but it failed for me.
Below is the error when installing from npm:
npm ERR! code 1
npm ERR! Command failed: /usr/bin/git checkout fix/default-filename
npm ERR! error: pathspec 'fix/default-filename' did not match any file(s) known to git.
npm ERR!
Below is the error when installing from github:
npm ERR! code 128
npm ERR! Command failed: /usr/bin/git checkout 356c9e9d162a8148e7946db51121ea9d468c4f48
npm ERR! fatal: reference is not a tree: 356c9e9d162a8148e7946db51121ea9d468c4f48
npm ERR!
My system Specs:
OS : Ubuntu 14.04
Node : v8.1.0
Npm : 5.0.3
Am I doing something wrong. Can you please guide me on this. Let me know If I am missing something. Thanks for your help
from orbit-db-cli.
Npm install worked for me after I took the latest changes from the repo.
from orbit-db-cli.
Related Issues (17)
- Add daemon mode HOT 5
- Database doesn't exixists following example in readme.md HOT 1
- Ipfs repo created by cli neither compatible with go-ipfs nor js-ipfs HOT 1
- After running the command 'npm install --global orbit-db-cli', can't find the command 'orbitdb'? HOT 5
- Replication with "--progress" option failed with an error message of "Error: Cannot read property 'progress' of undefined". HOT 1
- Issue installing node modules HOT 2
- Error with lock file HOT 1
- Create Not working !!!
- Error: Could not locate the bindings file. HOT 3
- Cannot read property 'sign' of undefined. HOT 2
- Move to CircleCI 2.0
- ORBITDB_PATH is not respected
- Installation bugs with both methods presented in documentation HOT 5
- Error when installing globally the package HOT 2
- How to use Document store? HOT 2
- install failed HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orbit-db-cli.