Skip to main content

A CLI tool for managing environment variables with encryption and role-based access control

Project description

EnvHub Logo

EnvHub CLI

License: MPL 2.0 PRs Welcome

A command-line interface for the EnvHub platform, providing secure environment variable management with encryption and role-based access control.

Overview

EnvHub is a comprehensive platform for managing environment variables across your development projects. This repository contains the CLI component that works alongside the web interface to provide a seamless experience for managing environment variables securely.

Features

  • 🔒 End-to-End Encryption - Your environment variables are encrypted before they leave your machine
  • 👥 Team Collaboration - Securely share environment variables with your team members
  • 📱 Cross-Platform - Access your environment variables from anywhere, on any device
  • 🛡️ Access Control - Granular permissions for team members and projects
  • 📊 Version History - Track changes and roll back to previous versions when needed

Installation

Install using pip:

pip install envhub-cli

Or if your environment is externally managed:

pipx install envhub-cli

Or install from source:

  1. Clone the repository:
git clone https://github.com/Okaymisba/EnvHub-CLI.git
  1. Create a virtual environment and activate it:
python -m venv .venv
source .venv/bin/activate  # On Unix/macOS
  1. Install dependencies:
pip install -r requirements.txt

Usage

Authentication

# Login to your account
envhub login

# Logout from your account
envhub logout

# Check current logged-in user
envhub whoami

Project Management

# Clone a project
envhub clone <project-name>

# Reset current folder
envhub reset

# Pull latest environment variables
envhub pull

Documentation

For detailed documentation, please visit our Documentation Website.

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the Mozilla Public License 2.0 - see the LICENSE file for details.

Contact

Misbah Sarfraz - @myLinkedIn - msbahsarfaraz@gmail.com

Project Link: https://github.com/okaymisba/envhub

Acknowledgments

  • Typer for the amazing CLI framework
  • Supabase for real-time database integration
  • Python-dotenv for environment variable management
  • Cryptography for secure encryption
  • Hatchling for modern Python packaging
  • All the amazing open-source contributors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

envhub_cli-0.3.6.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

envhub_cli-0.3.6-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file envhub_cli-0.3.6.tar.gz.

File metadata

  • Download URL: envhub_cli-0.3.6.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for envhub_cli-0.3.6.tar.gz
Algorithm Hash digest
SHA256 6a6557f9fc840e114ae6318bf93171832f4a740523a117a39672821b4cfadc5a
MD5 4595248d5ec27401fe7ce97d6d951b2d
BLAKE2b-256 3205a7bc0edaf2d5c07dfdeaf352d4ca43d7ab3ef5e17be68157e2f34360bec8

See more details on using hashes here.

File details

Details for the file envhub_cli-0.3.6-py3-none-any.whl.

File metadata

  • Download URL: envhub_cli-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for envhub_cli-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 acc39b8b2d7a0a1ebe79e13752c3daa99cbe41171a62ca21611b3b3534cb0f94
MD5 ba3024add529c833169d5d3738d344e8
BLAKE2b-256 d1fe24f5b4f80006b90bdd1219479d6d7c84604f0461e7123797a7c1b76f130c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page