-
Notifications
You must be signed in to change notification settings - Fork 1
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
updated readme.md file #10
Changes from 1 commit
1020b89
011c4a6
cf26327
730d013
fd35fe1
5992d10
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,22 @@ | ||
# zap-cli | ||
A Node.js CLI command for searching for, or opening a YouTube video with Zen Audio Player. | ||
A Node.js CLI tool for searching for, or opening a YouTube video with [Zen Audio Player](https://github.com/zen-audio-player/zen-audio-player.github.io). To use the zap-cli command-line tool, clone the repository and run a global npm install inside of it. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Still need the" usage" h2 after the first sentence here, see my previous comment There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @shakeelmohamed alright, took a few tries but I think I got it 😄 |
||
|
||
``` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. append "shell" to this line to get syntax highlighting |
||
git clone https://github.com/zen-audio-player/zap-cli && cd zap-cli | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's do 1 command per line, I love using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use another command line instead of |
||
npm install -g | ||
``` | ||
|
||
You can also access the zap command-line tool via the [zap-cli npm package]( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you move the npm related content to another branch? (And subsequently, a new pr) I want to merge everything in that's 100% true right now, then before we publish to npm I can merge in the changes relating to npm installation/usage |
||
https://www.npmjs.com/package/zap-cli). In order to use the zap-cli package globally, you must change into the directory of the package where you will then need to install it globally. Below is an example of installing zap-cli via npm. | ||
|
||
``` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shell |
||
npm install zap-cli | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All of these steps should just be |
||
zap-cli@1.0.0 /usr/local/lib/node_modules/zap-cli | ||
└── open@0.0.5 | ||
cd /usr/local/lib/node_modules/zap-cli | ||
npm install -g | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this need to be If I were doing this explicitly, I would do
Please manually verify the steps (ie: delete any local clones and start from scratch to make sure the steps work). |
||
``` | ||
|
||
Once done, you will then have access to the `zap` command globally throughout your computer. Below, you can see the zap-cli in action. | ||
|
||
![Zap command line tool Example](http://g.recordit.co/KXdK5O5sPJ.gif) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we use this as the demo for consistency? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From "To use"... on, let's break that into a new section called usage. The markdown is:
## Usage To use ...