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

bara-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bara-cli - npm Package Compare versions

Comparing version 0.1.0-nightly to 1.1.1

CHANGELOG.md

2

lib/commands/create.d.ts

@@ -1,2 +0,2 @@

import { Command, flags } from '@oclif/command';
import { Command, flags } from "@oclif/command";
export default class Create extends Command {

@@ -3,0 +3,0 @@ static description: string;

@@ -10,3 +10,3 @@ "use strict";

this.log(`Creating from template ${flags.template}: ${args.appName}...`);
cli_ux_1.default.action.start('Cloning template repo...');
cli_ux_1.default.action.start("Cloning template repo...");
await cli_ux_1.default.wait(1500);

@@ -17,16 +17,18 @@ cli_ux_1.default.action.stop();

}
Create.description = 'Create new Bara application';
Create.examples = [`$ bara create
Create.description = "Create new Bara application";
Create.examples = [
`$ bara create
Create new Bara application
`];
`
];
Create.flags = {
help: command_1.flags.help({ char: 'h' }),
help: command_1.flags.help({ char: "h" }),
// flag with no value (-t, --template)
template: command_1.flags.string({
char: 't',
options: ['backend', 'frontend', 'devops'],
description: 'Choose a template'
char: "t",
options: ["backend", "frontend", "devops"],
description: "Choose a template"
})
};
Create.args = [{ name: 'appName' }];
Create.args = [{ name: "appName" }];
exports.default = Create;

@@ -1,2 +0,2 @@

import { Command, flags } from '@oclif/command';
import { Command, flags } from "@oclif/command";
export default class Deploy extends Command {

@@ -3,0 +3,0 @@ static description: string;

@@ -7,3 +7,3 @@ "use strict";

const { args, flags } = this.parse(Deploy);
const name = flags.name || 'world';
const name = flags.name || "world";
this.log(`hello ${name} from /Users/nam/Projects/bara/bara/packages/cli/src/commands/deploy.ts`);

@@ -15,11 +15,11 @@ if (args.file && flags.force) {

}
Deploy.description = 'Deploy Bara application to Bara Space';
Deploy.description = "Deploy Bara application to Bara Space";
Deploy.flags = {
help: command_1.flags.help({ char: 'h' }),
help: command_1.flags.help({ char: "h" }),
// flag with a value (-n, --name=VALUE)
name: command_1.flags.string({ char: 'n', description: 'name to print' }),
name: command_1.flags.string({ char: "n", description: "name to print" }),
// flag with no value (-f, --force)
force: command_1.flags.boolean({ char: 'f' })
force: command_1.flags.boolean({ char: "f" })
};
Deploy.args = [{ name: 'file' }];
Deploy.args = [{ name: "file" }];
exports.default = Deploy;

@@ -1,1 +0,1 @@

{"version":"0.1.0-nightly","commands":{"create":{"id":"create","description":"Create new Bara application","pluginName":"bara-cli","pluginType":"core","aliases":[],"examples":["$ bara create\n Create new Bara application\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"template":{"name":"template","type":"option","char":"t","description":"Choose a template","options":["backend","frontend","devops"]}},"args":[{"name":"appName"}]},"deploy":{"id":"deploy","description":"Deploy Bara application to Bara Space","pluginName":"bara-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"name to print"},"force":{"name":"force","type":"boolean","char":"f","allowNo":false}},"args":[{"name":"file"}]}}}
{"version":"1.1.1","commands":{"create":{"id":"create","description":"Create new Bara application","pluginName":"bara-cli","pluginType":"core","aliases":[],"examples":["$ bara create\n Create new Bara application\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"template":{"name":"template","type":"option","char":"t","description":"Choose a template","options":["backend","frontend","devops"]}},"args":[{"name":"appName"}]},"deploy":{"id":"deploy","description":"Deploy Bara application to Bara Space","pluginName":"bara-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"name to print"},"force":{"name":"force","type":"boolean","char":"f","allowNo":false}},"args":[{"name":"file"}]}}}
{
"name": "bara-cli",
"description": "Bara CLI Application - Created For Creating",
"version": "0.1.0-nightly",
"version": "1.1.1",
"author": "nampdn @nampdn",

@@ -60,5 +60,6 @@ "bin": {

"version": "oclif-dev readme && git add README.md",
"fix": "gts fix"
"fix": "echo 'Fixing in nothing'"
},
"types": "lib/index.d.ts"
"types": "lib/index.d.ts",
"gitHead": "8668b7d41f122e652c0cb1974f8669f59caacbe4"
}

@@ -22,3 +22,3 @@ bara-cli

$ bara (-v|--version|version)
bara-cli/0.1.0-nightly darwin-x64 node-v10.12.0
bara-cli/1.1.1 darwin-x64 node-v10.12.0
$ bara --help [COMMAND]

@@ -53,3 +53,3 @@ USAGE

_See code: [src/commands/create.ts](https://github.com/barajs/bara/blob/v0.1.0-nightly/src/commands/create.ts)_
_See code: [src/commands/create.ts](https://github.com/barajs/bara/blob/v1.1.1/src/commands/create.ts)_

@@ -70,3 +70,3 @@ ## `bara deploy [FILE]`

_See code: [src/commands/deploy.ts](https://github.com/barajs/bara/blob/v0.1.0-nightly/src/commands/deploy.ts)_
_See code: [src/commands/deploy.ts](https://github.com/barajs/bara/blob/v1.1.1/src/commands/deploy.ts)_

@@ -73,0 +73,0 @@ ## `bara help [COMMAND]`

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