Environment Variables
Environment variables for NEMAR CLI configuration.
Authentication
Section titled “Authentication”| Variable | Description | Required |
|---|---|---|
NEMAR_API_KEY | Your NEMAR API key | For auth |
API Configuration
Section titled “API Configuration”| Variable | Description | Default |
|---|---|---|
NEMAR_API_URL | API base URL | Production API |
Usage Examples
Section titled “Usage Examples”In Shell
Section titled “In Shell”export NEMAR_API_KEY=nemar_your_key_herenemar auth statusIn Scripts
Section titled “In Scripts”#!/bin/bashNEMAR_API_KEY=nemar_your_key_here nemar dataset upload ./dataWith dotenv
Section titled “With dotenv”Create a .env file (don’t commit this!):
NEMAR_API_KEY=nemar_your_key_hereThen:
source .envnemar auth statusCI/CD Usage
Section titled “CI/CD Usage”GitHub Actions
Section titled “GitHub Actions”jobs: upload: steps: - name: Upload dataset env: NEMAR_API_KEY: ${{ secrets.NEMAR_API_KEY }} run: nemar dataset upload ./data