awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
toddbluhm avatar

toddbluhm/env-cmd

0
View on GitHub↗
1,818 stars·68 forks·TypeScript·MIT·2 vueswww.npmjs.com/package/env-cmd↗

Env Cmd

Ce projet est un utilitaire en ligne de commande qui exécute des processus en injectant des variables d'environnement à partir de fichiers de configuration locaux. Il fonctionne comme un wrapper d'exécution, permettant aux développeurs de gérer les paramètres d'application et les contextes d'exécution de processus sans modifier les variables système globales.

L'outil se distingue par la prise en charge du chargement dynamique de configuration, ce qui permet l'utilisation de fichiers qui exportent des objets ou des promesses pour calculer des valeurs au moment de l'exécution. Il offre un contrôle granulaire sur la gestion de l'environnement, y compris la capacité de regrouper des variables dans des collections nommées, de protéger les variables d'environnement existantes contre l'écrasement et de gérer les fichiers de configuration manquants avec élégance.

Au-delà de l'injection de base, l'utilitaire facilite l'exécution de scripts multiplateformes et la gestion automatisée des pipelines de build en remplaçant les espaces réservés dans les arguments de commande par des valeurs d'environnement résolues. Il crée des processus enfants isolés pour garantir que les paramètres de configuration restent limités à des tâches spécifiques, maintenant un comportement cohérent à travers différents environnements de développement et de déploiement.

Features

  • Shell Command Runners - Acts as a runtime wrapper that applies file-based environment settings to shell commands without modifying global system variables.
  • Environment Variable Loaders - Executes processes with environment variables injected from local configuration files.
  • Runtime Environment Variable Injections - Injects configuration variables into a child process environment before executing a command to isolate settings from the parent shell.
  • Application Configuration - Loads structured environment settings into application processes to manage secrets and dynamic parameters without hardcoding values into the source code.
  • Environment Variable Managers - Injects configuration from files into shell processes to support environment-specific settings without modifying global system variables.
  • Scoped Environment Variable Injections - Applies specific environment variables from designated files before command execution to support environment-specific configurations.
  • Dynamic Placeholder Expansion - Replaces placeholders within command arguments with actual environment variable values at runtime.
  • Cross-Platform Script Runners - Runs shell commands with injected environment variables to maintain consistent application behavior across different operating systems and deployment environments.
  • Command Argument Resolvers - Scans command-line arguments for variable tokens and replaces them with resolved values from the environment before the process starts.
  • Dynamic Module Loading - Imports configuration files as executable code to support computed values and asynchronous data fetching during the environment setup phase.
  • Dynamic Configuration Loaders - Supports importing environment variables from files that export objects or promises, enabling computed values and dynamic settings.
  • Node.js Process Management - Manages environment-specific configurations and process execution contexts within Node.js development and deployment workflows.
  • Shell Command Execution - Creates a new operating system process to run commands within a modified environment context that persists for the duration of the task.
  • Build and Task Automation - Executes build and deployment tasks with dynamic environment variables to ensure consistent behavior across different development and production stages.
  • File-Based Configurations - Reads and transforms external text or script files into structured key-value pairs for dynamic environment variable assignment.

Historique des stars

Graphique de l'historique des stars pour toddbluhm/env-cmdGraphique de l'historique des stars pour toddbluhm/env-cmd

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Collections incluant Env Cmd

Sélections manuelles où Env Cmd apparaît.
  • Outils de gestion des variables d'environnement

Questions fréquentes

Que fait toddbluhm/env-cmd ?

Ce projet est un utilitaire en ligne de commande qui exécute des processus en injectant des variables d'environnement à partir de fichiers de configuration locaux. Il fonctionne comme un wrapper d'exécution, permettant aux développeurs de gérer les paramètres d'application et les contextes d'exécution de processus sans modifier les variables système globales.

Quelles sont les fonctionnalités principales de toddbluhm/env-cmd ?

Les fonctionnalités principales de toddbluhm/env-cmd sont : Shell Command Runners, Environment Variable Loaders, Runtime Environment Variable Injections, Application Configuration, Environment Variable Managers, Scoped Environment Variable Injections, Dynamic Placeholder Expansion, Cross-Platform Script Runners.

Quelles sont les alternatives open-source à toddbluhm/env-cmd ?

Les alternatives open-source à toddbluhm/env-cmd incluent : joho/godotenv — godotenv is a Go library designed to load, parse, and serialize environment configuration files. It provides tools to… kentcdodds/cross-env — cross-env is a Node.js command line utility and cross-platform shell script runner. It functions as an environment… symfony/dotenv — This library is a PHP environment variable loader and configuration parser. It extracts key-value pairs from local… laserlemon/figaro — Figaro is a configuration manager for Ruby on Rails applications that loads key-value pairs from YAML files and… bkeepers/dotenv — Dotenv is a Ruby library used for loading key-value pairs from files into an application environment. It includes a… hunvreus/devpush — Devpush is a self-hosted Git-based PaaS that automates the deployment of containerized applications. It maps each Git…

Alternatives open source à Env Cmd

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Env Cmd.
  • joho/godotenvAvatar de joho

    joho/godotenv

    10,483Voir sur GitHub↗

    godotenv is a Go library designed to load, parse, and serialize environment configuration files. It provides tools to extract configuration data from files into maps and inject those key-value pairs directly into the system environment of a Go application process. The project includes a configuration file serializer for exporting environment variable maps back into formatted files and a parser for extracting data without modifying the system environment. It supports injecting variables from strings or files into the process environment using priority-based overloading and overwriting. The li

    Godotenvenvironment-variablesgo
    Voir sur GitHub↗10,483
  • kentcdodds/cross-envAvatar de kentcdodds

    kentcdodds/cross-env

    6,527Voir sur GitHub↗

    cross-env is a Node.js command line utility and cross-platform shell script runner. It functions as an environment variable setter that ensures variables are handled identically across Windows, macOS, and Linux. The tool standardizes variable assignment by wrapping shell execution in a uniform interface, allowing scripts to run consistently regardless of the underlying operating system. This enables the use of a single syntax for environment configuration across diverse shell environments. The project covers capabilities for automated build tooling, Node.js environment configuration, and the

    TypeScript
    Voir sur GitHub↗6,527
  • symfony/dotenvAvatar de symfony

    symfony/dotenv

    3,790Voir sur GitHub↗

    This library is a PHP environment variable loader and configuration parser. It extracts key-value pairs from local text files to populate global server and system environment arrays, ensuring that sensitive credentials and application settings remain separate from the source code. The tool implements twelve-factor app configuration principles by mapping local files to process-level variables. It utilizes a regex-based parser to identify variable assignments while stripping comments and whitespace, and it includes guards to prevent local configuration files from overwriting existing host-level

    PHP
    Voir sur GitHub↗3,790
  • laserlemon/figaroAvatar de laserlemon

    laserlemon/figaro

    3,749Voir sur GitHub↗

    Figaro is a configuration manager for Ruby on Rails applications that loads key-value pairs from YAML files and injects them into environment variables. It functions as a configuration validator, raising errors during startup if mandatory configuration keys are missing from the environment to prevent runtime crashes. The project includes a command-line utility for synchronizing local environment settings to remote hosting platforms and production servers. This allows for the generation of remote configuration files based on local source data. The system supports environment-specific settings

    Ruby
    Voir sur GitHub↗3,749
Voir les 30 alternatives à Env Cmd→