Comparing version 0.4.0 to 0.5.0
@@ -23,3 +23,3 @@ "use strict"; | ||
parser.addCommand(new cafe_args_1.Command('project', 'Move between projects quickly', { | ||
alias: 'p' | ||
alias: 'P' | ||
}).withFn(() => __awaiter(this, void 0, void 0, function* () { | ||
@@ -26,0 +26,0 @@ const locations = cafe_utility_1.Objects.filterKeys(process.env, key => key.startsWith(MAGIC_STRING)); |
@@ -20,2 +20,3 @@ #!/usr/bin/env node | ||
const proxy_1 = require("./commands/proxy"); | ||
const proxy_cli_1 = require("./commands/proxy-cli"); | ||
function main() { | ||
@@ -35,2 +36,3 @@ return __awaiter(this, void 0, void 0, function* () { | ||
(0, project_1.registerProjectCommand)(parser); | ||
(0, proxy_cli_1.registerProxyCliCommand)(parser); | ||
const result = yield parser.parse(process.argv.slice(2)); | ||
@@ -37,0 +39,0 @@ if (cafe_utility_1.Types.isString(result)) { |
{ | ||
"name": "cafe-tui", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -11,3 +11,3 @@ import { Command, Parser } from 'cafe-args' | ||
new Command('project', 'Move between projects quickly', { | ||
alias: 'p' | ||
alias: 'P' | ||
}).withFn(async () => { | ||
@@ -14,0 +14,0 @@ const locations = Objects.filterKeys(process.env, key => key.startsWith(MAGIC_STRING)) |
@@ -10,2 +10,3 @@ #!/usr/bin/env node | ||
import { registerProxyCommand } from './commands/proxy' | ||
import { registerProxyCliCommand } from './commands/proxy-cli' | ||
@@ -25,2 +26,3 @@ async function main() { | ||
registerProjectCommand(parser) | ||
registerProxyCliCommand(parser) | ||
const result = await parser.parse(process.argv.slice(2)) | ||
@@ -27,0 +29,0 @@ if (Types.isString(result)) { |
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
21729
16
482