Created
June 2, 2018 19:34
-
-
Save nerdic-coder/3310d9dd9e2050615a5ac43662b3e2d7 to your computer and use it in GitHub Desktop.
cli-dependecies.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env node | |
var shell = require("shelljs"); | |
const path = require('path'); | |
// The path to the installation directory if this tool | |
var cliPath = path.join(path.dirname(__filename), '..'); | |
// Check that a command is given | |
if (!process.argv[2]) { | |
shell.echo('Please tell me what you want me todo!'); | |
shell.exit(1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment