Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chords-parser

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chords-parser

parse guitar chords

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

chords-parser

parse guitar chords


----- REMOVE THIS AFTER USE -----------

TODO HERE

Replace README vars

To use this commands first replace this all occurences of bellow strings. Use Alt + F3 to make this easier:

  • __MY-CLI-TOOL__ // example: get-images
  • __GITHUB_USER__ // example: azukiapp
  • __PROJECT_DESCRIPTION__ // example: Cli tool to download images
  • __BIN_DEFAULT_DESCRIPTION__ // example: Download images for me
  • __THE_AUTHOR__ // example: saitodisse@gmail.com

Unzip and initialize git

wget https://github.com/azukiapp/azk-cli-boilerplate/archive/master.zip
unzip master.zip
mv azk-cli-boilerplate-master __MY-CLI-TOOL__
rm master.zip
cd __MY-CLI-TOOL__
git init
git add . -A
git commit -m"[Project] Initial version from boilerplate"

Replaces in files/code

Replacing string in code
  • Execute this on your new project folder:
# replace main bin filename
find . -name 'chords-parser.js' -type f -exec bash -c 'mv "$1" "${1/chords-parser.js/__MY-CLI-TOOL__.js}"' -- {} \;
git add . -A

# replace other strings inside files
find . -type f -not -path "./node_modules/*" -not -path "./.git/*" -not -path "./lib/*" -exec sed -i 's/https://github.com/saitodisse/chords-parser/https:\/\/github.com\/__GITHUB_USER__\/__MY-CLI-TOOL__/g' {} +
find . -type f -not -path "./node_modules/*" -not -path "./.git/*" -not -path "./lib/*" -exec sed -i 's/chords-parser/__MY-CLI-TOOL__/g' {} +
find . -type f -not -path "./node_modules/*" -not -path "./.git/*" -not -path "./lib/*" -exec sed -i 's/parse guitar chords/__PROJECT_DESCRIPTION__/g' {} +
find . -type f -not -path "./node_modules/*" -not -path "./.git/*" -not -path "./lib/*" -exec sed -i 's/chords parser/__BIN_DEFAULT_DESCRIPTION__/g' {} +
find . -type f -not -path "./node_modules/*" -not -path "./.git/*" -not -path "./lib/*" -exec sed -i 's/saitodisse@gmail.com/__THE_AUTHOR__/g' {} +
  • Search all other TODO in code and replace with correct values
  • Update CHANGELOG.md
  • Update LICENSE file

Check if its still working

npm install
npm test
node ./bin/__MY-CLI-TOOL__.js -h

Github

Create __MY-CLI-TOOL__ on Github and include remote

git remote add origin git@github.com:__GITHUB_USER__/__MY-CLI-TOOL__.git
git push origin master -u

  • Now you can delete this section from README ;)

----- (END) REMOVE THIS AFTER USE -----

Install

npm install chords-parser -g

Run

chords-parser             # parse guitar chords

Test and run locally

npm install
npm test
node ./bin/chords-parser.js -h

Keywords

FAQs

Package last updated on 17 Feb 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc