{"library":"nemar-cli","title":"NEMAR CLI","description":"The nemar-cli package provides a command-line interface for managing datasets within NEMAR (Neuroelectromagnetic Data Archive and Tools Resource), an initiative focused on curating and sharing human neuroelectromagnetic (EEG, MEG, iEEG) data. It facilitates interaction with BIDS-formatted datasets, often leveraging DataLad for version control and data management, and integrating with resources like OpenNeuro. This CLI is designed to help researchers create, update, and manage neuroimaging datasets, particularly those with restrictive licenses that prevent hosting on fully public repositories, while still ensuring free access for academic use. The current stable version is 0.7.26, indicating active development with potential for frequent updates and feature enhancements before a 1.0 release. Its key differentiators include specialized support for neuroimaging data standards (BIDS), integration with advanced data versioning systems (DataLad), and its role in an ecosystem that provides high-performance computing resources via the Neuroscience Gateway. It aims to streamline data management workflows for neuroscientists.","language":"javascript","status":"active","last_verified":"Wed Apr 22","install":{"commands":["npm install nemar-cli"],"cli":{"name":"nemar","version":null}},"imports":["npm install -g nemar-cli\nnemar-cli --version","npx nemar-cli --help","nemar-cli dataset create --name 'MyNewDataset' --bids --datalad"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"#!/bin/bash\n\n# Ensure Bun is installed and meets the engine requirement.\nif ! command -v bun &> /dev/null || ! bun --version | grep -q \"^1\\.\"; then\n  echo \"Error: Bun (version >=1.0.0) is required but not found or not compatible.\"\n  echo \"Please install Bun: https://bun.sh/docs/installation\"\n  exit 1\nfi\n\n# Install the nemar-cli globally using Bun\nbun install -g nemar-cli\n\necho \"\\nNEMAR CLI installed. Verifying installation:\"\nnemar-cli --version\n\necho \"\\nListing available commands:\"\nnemar-cli --help\n\necho \"\\nExample: Initializing a new NEMAR dataset (interactive, requires user input):\"\n# This command initiates an interactive process for dataset creation.\n# For automated scripts, specific subcommands and flags would be used.\n# nemar-cli dataset create\n\necho \"\\nTo clean up the global installation (optional):\"\n# bun uninstall -g nemar-cli\n","lang":"bash","description":"This quickstart demonstrates how to install `nemar-cli` globally using Bun and verify its installation and basic functionality by checking the version and displaying the main help message. It emphasizes the Bun engine requirement and shows how to explore available commands.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}