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

akashacms-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

akashacms-cli - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

40

cli.js

@@ -33,10 +33,21 @@ #!/usr/bin/env node

var fnakasha;
try {
fnakasha = resolve('akashacms', { basedir: process.cwd() });
} catch (ex) {
console.error("Could not find AkashaCMS because: "+ ex);
process.exit();
var loadAkasha = function() {
var fnakasha;
if (process.env.AKASHAPATH) {
fnakasha = process.env.AKASHAPATH;
} else {
try {
fnakasha = resolve('akashacms', { basedir: process.cwd() });
} catch (ex) {
console.error("Could not find AkashaCMS because: "+ ex);
console.error("");
console.error("If you're seeing this message, akashacms hasn't been");
console.error("installed locally. You may need to type 'npm install'. ");
console.error("");
console.error("See http://akashacms.com for more help");
process.exit();
}
}
return require(fnakasha);
}
var akasha = require(fnakasha);

@@ -95,2 +106,3 @@ 'use strict';

.action(function() {
var akasha = loadAkasha();
var config = require(path.join(process.cwd(), '/config.js'));

@@ -107,2 +119,3 @@ akasha.config(config);

.action(function(fileName) {
var akasha = loadAkasha();
var config = require(path.join(process.cwd(), '/config.js'));

@@ -137,2 +150,3 @@ akasha.config(config);

.action(function(url) {
var akasha = loadAkasha();
var config = require(path.join(process.cwd(), '/config.js'));

@@ -150,2 +164,3 @@ akasha.config(config);

.action(function(fileName) {
var akasha = loadAkasha();
var config = require(path.join(process.cwd(), '/config.js'));

@@ -167,2 +182,3 @@ akasha.config(config);

.action(function(fileName) {
var akasha = loadAkasha();
var config = require(path.join(process.cwd(), '/config.js'));

@@ -180,2 +196,3 @@ akasha.config(config);

.action(function(fileName) {
var akasha = loadAkasha();
var config = require(path.join(process.cwd(), '/config.js'));

@@ -193,2 +210,3 @@ akasha.config(config);

.action(function(fileName) {
var akasha = loadAkasha();
var config = require(path.join(process.cwd(), '/config.js'));

@@ -206,2 +224,3 @@ akasha.config(config);

.action(function(fileName) {
var akasha = loadAkasha();
var config = require(path.join(process.cwd(), '/config.js'));

@@ -220,2 +239,3 @@ akasha.config(config);

.action(function(options) {
var akasha = loadAkasha();
var config = require(path.join(process.cwd(), '/config.js'));

@@ -249,2 +269,3 @@ akasha.config(config);

.action(function() {
var akasha = loadAkasha();
// var staticSrv = require('node-static');

@@ -266,2 +287,3 @@ var config = require(path.join(process.cwd(), '/config.js'));

.action(function() {
var akasha = loadAkasha();
// var staticSrv = require('node-static');

@@ -277,2 +299,3 @@ var config = require(path.join(process.cwd(), '/config.js'));

.action(function(fileName) {
var akasha = loadAkasha();
var config = require(path.join(process.cwd(), '/config.js'));

@@ -297,2 +320,3 @@ akasha.config(config);

var akasha = loadAkasha();
var config = require(path.join(process.cwd(), '/config.js'));

@@ -315,2 +339,3 @@ akasha.config(config);

var akasha = loadAkasha();
var config = require(path.join(process.cwd(), '/config.js'));

@@ -333,2 +358,3 @@ akasha.config(config);

.action(function() {
var akasha = loadAkasha();
var config = require(path.join(process.cwd(), '/config.js'));

@@ -335,0 +361,0 @@ akasha.config(config);

2

package.json

@@ -32,3 +32,3 @@ {

},
"version": "0.4.3",
"version": "0.4.4",
"engines": {

@@ -35,0 +35,0 @@ "node": ">=0.10.1"

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