Skip to content

Add --yes/-y flags for non-interactive mode #34

Closed

Description

@neuromechanist

Feature Request

Add consistent --yes/-y flags across all CLI commands that require user confirmation to enable non-interactive usage.

Motivation

  • Enable CI/CD integration
  • Support scripting workflows
  • Improve automation capabilities
  • Consistent UX across all commands

Commands to update

  • nemar auth signup - Skip confirmation prompts
  • nemar dataset upload - Already has -y, ensure consistency
  • nemar sandbox - Skip confirmation
  • nemar admin approve - Skip confirmation
  • nemar admin revoke - Skip confirmation
  • nemar admin regenerate-iam - Added --yes but not working (needs fix)
  • nemar admin doi create - Skip confirmation

Implementation notes

  • Use Commander.js .option('--yes', 'Skip confirmation prompts')
  • Standardize on both --yes and -y short form
  • Document in help text and README

Related

Part of improving CLI automation and CI/CD workflows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions