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

@acryps/environment

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acryps/environment - npm Package Compare versions

Comparing version 2.2.1 to 2.3.0

16

built/index.js

@@ -132,2 +132,6 @@ "use strict";

}
case '--export-json': {
process.stdout.write(`${JSON.stringify(environment)}\n`);
return process.exit(0);
}
case '--export-cluster': {

@@ -141,2 +145,14 @@ const applicationFilter = await inputInterface.question('Cluster Application Name: ');

}
case '--export-shell': {
for (let name in environment) {
process.stdout.write(`${name}=${JSON.stringify(environment[name])}\n`);
}
return process.exit(0);
}
case '--export-dotenv': {
for (let name in environment) {
process.stdout.write(`export ${name}=${JSON.stringify(environment[name])}\n`);
}
return process.exit(0);
}
default: {

@@ -143,0 +159,0 @@ const programLocation = (0, which_1.sync)(childProgram[0]);

2

package.json
{
"name": "@acryps/environment",
"version": "2.2.1",
"version": "2.3.0",
"license": "GPL-3.0-only",

@@ -5,0 +5,0 @@ "bin": {

@@ -41,12 +41,10 @@ # acryps environment

## Exporting
Export the current environment for another user by using
```
environment --export
```
The current configuration can be exported in various formats for import into other applications
The current settings can be exported for vlcluster by running
```
environment --export-cluster
```
More exporters will be added at some point :)
npx environment --export # exports as environment bundle, for import into environment
npx environment --export-json # exports as json
npx environment --export-shell # exports as NAME="VALUE" statements for shell scripts
npx environment --export-dotenv # exports as export NAME="VALUE" statements for .env files
npx environment --export-cluster # exports as vlcluster variable commands
```
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