auth¶
Authentication and account management
Usage¶
Usage: nemar auth [options] [command]
Authentication management
Options:
-h, --help display help for command
Commands:
login [options] Authenticate with your NEMAR API key
signup Register for a new NEMAR account
status [options] Check current authentication status
logout [options] Clear stored credentials
resend-verification Resend email verification link
help [command] display help for command
Description:
Manage your NEMAR account authentication. New users must register, verify
their email, and be approved by an admin before they can upload datasets.
Workflow:
1. nemar auth signup - Register a new account
2. Verify your email - Click the link in the verification email
3. Wait for approval - Admin will review your request
4. nemar auth login - Log in with your API key (sent after approval)
Examples:
$ nemar auth signup # Start registration
$ nemar auth login # Interactive login
$ nemar auth login -k <api-key> # Login with API key
$ nemar auth status --refresh # Check authentication status
$ nemar auth logout # Clear credentials
Subcommands¶
auth login¶
Usage: nemar auth login [options]
Authenticate with your NEMAR API key
Options:
-k, --key <key> API key (alternative: set NEMAR_API_KEY env var)
-f, --force Skip confirmation if already logged in
-h, --help display help for command
Environment Variables:
NEMAR_API_KEY Your API key (alternative to -k flag)
Examples:
$ nemar auth login # Interactive prompt
$ nemar auth login -k nemar_abc123... # Provide key directly
$ NEMAR_API_KEY=nemar_abc... nemar auth login
auth signup¶
Usage: nemar auth signup [options]
Register for a new NEMAR account
Options:
-h, --help display help for command
auth status¶
Usage: nemar auth status [options]
Check current authentication status
Options:
--refresh Refresh user info from server
-h, --help display help for command
auth logout¶
Usage: nemar auth logout [options]
Clear stored credentials
Options:
-f, --force Skip confirmation prompt
-h, --help display help for command