Skip to content

Command Reference

Overview of all available NEMAR CLI commands.

Main Help

Usage: nemar [options] [command]

CLI for NEMAR (Neuroelectromagnetic Data Archive and Tools Resource)

NEMAR is a curated repository for neurophysiology data in BIDS format.
This CLI provides tools for uploading, downloading, and managing datasets.

Options:
  -v, --version      Output the current version
  --no-color         Disable colored output
  --verbose          Enable verbose output
  --help-all         Show detailed help with examples and descriptions
  -h, --help         display help for command

Commands:
  admin              Admin commands (requires admin privileges)
  auth               Authentication management
  dataset            Dataset management
  help [command]     display help for command
  login [options]    Authenticate with your API key (shortcut for 'auth login')
  logout [options]   Remove the active account (shortcut for 'auth logout')
  register           Register for a new account (alias for signup)
  sandbox            Complete sandbox training before uploading datasets
  signup             Register for a new account (shortcut for 'auth signup')
  switch [username]  Switch between accounts (shortcut for 'auth switch')
  whoami [options]   Show current user (shortcut for 'auth status')

  Run with --help-all for examples and detailed descriptions.

Command Groups

Command Description
auth Authentication and account management
dataset Dataset management operations
sandbox Sandbox training (required before uploading)
admin Administrative operations (admin only)