pinset2.1
中文
Encrypted project environment commands

pinset env import

Import an explicitly named plaintext dotenv file into one encrypted profile.

View source on GitHub
FieldDescription
PurposeImport an explicitly named plaintext dotenv file into one encrypted profile.
Syntax and argumentspinset env import --from <path> --profile <name> [--cwd <path>].
Modifies stateYes. Matching names replace profile values; other existing names remain. The source file is not modified or deleted.
Examplepinset env import --from .env --profile development
JSONNo.
Key errorsInvalid UTF-8/assignment/name, case-insensitive duplicate, export, interpolation, command substitution, shell expression, unsupported escape, unmatched quote, missing identity, or encryption failure.

The portable subset accepts blank lines, # comments, empty values, unquoted values, single or double quotes, quoted multiline values, and double-quoted \n, \r, \t, \\, and \" escapes. It never executes input. After verifying the import, remove or protect the plaintext source yourself.

/en/docs/commands/env-importPinset 2.1