Categorygithub.com/bukalapak/envsync
repositorypackage
1.1.2
Repository: https://github.com/bukalapak/envsync.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Build Status codecov Go Report Card Documentation

Envsync

Description

Envsync is a tool to synchronize source env and target env file.

Installation

  1. Download the executable file in the given link below. Open the given link via your favorite browser. Choose envsync_linux_amd64 for linux or envsync_darwin_amd64 for OSX.

    https://github.com/bukalapak/envsync/releases/latest
    
  2. For the next steps, please, change OS with "linux" or "darwin" (depend on what you have downloaded before).

  3. Give the executable file the permission to execute.

    chmod +x ~/Downloads/envsync_[OS]_amd64
    
  4. Move to /usr/local/bin.

    mv ~/Downloads/envsync_[OS]_amd64 /usr/local/bin/envsync
    

Usage

  • With flag -s and -t (Optional Flags)
envsync -s <source file> -t <target file>
  • Without flag, by default will use file env.sample as source and .env as a target on current directory.
envsync