famous-cli
Advanced tools
Comparing version 0.5.2 to 0.6.0
@@ -6,8 +6,5 @@ #!/usr/bin/env node | ||
var develop = require('../lib/dev/dev'); | ||
var deploy = require('../lib/deploy').deployCLI; | ||
var metrics = require('../lib/metrics/mixpanel'); | ||
var create = require('../lib/project/create'); | ||
var init = require('../lib/project/init'); | ||
var fork = require('../lib/project/fork'); | ||
var register = require('../lib/user/create').createUserCLI; | ||
var login = require('../lib/user/login'); | ||
@@ -34,7 +31,2 @@ var logout = require('../lib/user/logout'); | ||
program | ||
.command('register') | ||
.description('register with Famous Cloud Services.') | ||
.action(register); | ||
program | ||
.command('login') | ||
@@ -62,8 +54,2 @@ .description('login with Famous Cloud Services.') | ||
program | ||
.command('fork') | ||
.description('fork a famous project') | ||
.option('-n, --name', 'Name of forked project') | ||
.action(fork); | ||
program | ||
.command('develop') | ||
@@ -75,7 +61,2 @@ .alias('dev') | ||
program | ||
.command('deploy [directory]') | ||
.description('deploy a famous project') | ||
.action(deploy); | ||
program | ||
.command('whoami') | ||
@@ -82,0 +63,0 @@ .alias('session') |
@@ -9,3 +9,2 @@ 'use strict'; | ||
var link = require('./link'); | ||
var deploy = require('../deploy').deployProject; | ||
var seedTools = require('../util/seedTools'); | ||
@@ -45,4 +44,3 @@ var waterfallChain = require('../util/waterfallDecorator').waterfallChain; | ||
waterfallChain(seedHooks), | ||
waterfallVariadic(npm.runHook, 'setup'), | ||
waterfallVariadic(deploy, 'public') | ||
waterfallVariadic(npm.runHook, 'setup') | ||
], | ||
@@ -49,0 +47,0 @@ function (error, data) { |
{ | ||
"name": "famous-cli", | ||
"version": "0.5.2", | ||
"version": "0.6.0", | ||
"description": "CLI interface for Famous Industries Web Services", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -22,3 +22,3 @@ var tap = require('tap'); | ||
t.test(function(t) { | ||
t.plan(11); | ||
t.plan(10); | ||
@@ -31,3 +31,2 @@ exec('node bin/famous.js', function(error, stdout, stderr) { | ||
t.ok(stdout.match(/create|init [options] \ .*/), "famous should output create|init command info"); | ||
t.ok(stdout.match(/fork \[options\] \ .*/), "famous should output fork command info"); | ||
t.ok(stdout.match(/develop|dev\ .*/), "famous should output develop|dev command info"); | ||
@@ -34,0 +33,0 @@ t.ok(stdout.match(/init \[options\]\ .*/), "famous should output init command info"); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18
581760
54
2416