Git Product home page Git Product logo

shaq's Introduction

Shaq.js

Install

  1. Install node
  2. Run npm install -g shaq in your terminal

Usage

Run shaq hello in your terminal, or shaq --help to see what's up

Contribute

Get started

  1. First, make sure you have node and git installed.
  2. Configure git with your github credentials: see https://help.github.com/articles/set-up-git
  3. Fork this repository by pressing the Fork button Fork Button.
  4. Clone the repository by running git clone [email protected]:k88hudson/shaq.git in your terminal, replacing k88hudson with your own username.
  5. Also in your terminal, cd into the shaq directory: cd shaq
  6. Install dependencies: npm install
  7. Make the main shaq.js file executable: chmod +x lib/shaq.js
  8. Now you can run lib/shaq.js to test shaq locally.

Add a skill to skillz

Add a function to lib/skillz.js. It might look something like this:

function rap() {
  console.log( shaqsHead + 'I can rap 123' );
}

The text inside console.log should be a string - it will get printed out in the console. You can use the variable shaqsHead to add a cool head at the start of your string.

Next, you should add your command to lib/shaq.js in the list of options:

program
  .option('rap', 'Make shaq rap')

Now, test it out with lib/shaq.js!

shaq's People

Contributors

k88hudson avatar

Stargazers

Anne Thorpe avatar Jamie Kerber avatar

Watchers

James Cloos avatar  avatar

Forkers

bennicholls

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.