Skip to main content

import-account

Import all public decks from an Archidekt user account.

Usage

./ritual import-account [username] [options]

Arguments

ArgumentDescriptionRequired
[username]Archidekt username to fetch decks for (or omit if logged in)No

Options

OptionDescription
-a, --allImport all decks without interactive selection
-o, --overwriteOverwrite existing decks without prompting
--non-interactiveDisable interactive prompts; requires --all or --yes
-y, --yesAutomatically answer yes to prompts
--dry-runPreview imports without writing deck files

Examples

Import decks interactively (select which ones to import):

./ritual import-account johndoe

Import all public decks from a user:

./ritual import-account johndoe --all

Plan an import in CI without prompts:

./ritual import-account johndoe --all --non-interactive --dry-run

Notes

  • If you are logged in to your account, you can import your private or unlisted decks
  • Interactive mode allows you to select which decks to import using a checkbox interface
  • All selected decks are imported sequentially