CLI reference
Push
Encrypt a local file and add a version to the shared repository workspace.
Usage
Push encrypts your local environment file before upload and adds a saved version to the selected repository and directory. You need GitHub write access. Earlier versions remain available.
varte push [options] varte push -f .env.production -o your-team -r api -d server -n productionOptions
| Option | Default | Purpose |
|---|---|---|
-f, --file <path> | .env | Local file to read |
-o, --owner <owner> | Git remote / signed-in user | GitHub repository owner |
-r, --repo <repo> | Git remote | GitHub repository name |
-d, --directory <directory> | Root (empty string) | Logical directory label |
-n, --name <name> | Timestamp and username | Name displayed for this version |
Directories are labels
The directory value organizes versions under a repository; it does not copy a directory or change the local working directory. Use the exact same label when pulling. backend, Backend, and /backend are different labels.
varte push -f backend/.env -d backend -n .env.productionvarte push -f .env -d "" -n .env.localEvery upload adds a version
Each upload creates a new saved version. Using the same file name again adds the latest configuration while keeping earlier versions available.
The local CLI file limit is 500 KB.
Required repository access
Uploading requires GitHub write access to the repository. Check your organization membership and SSO authorization if an upload is denied.
Vathavaran v2 · Guides for your terminal, browser, and phone.