edu-sync-cli-add(1)

edu-sync-cli-add1

Adds a new account to the configuration

Usage

edu-sync-cli add [OPTIONS] <URL> <PATH>

Overview

Adds a new account to the configuration

Arguments:

<URL>

The URL of the Moodle instance

<PATH>

The path to download resources to

Options

-u, --username <USERNAME>

The username of the account.

If set, you will be prompted the corresponding password which will be used to retrieve the token. If unset, you must supply the token yourself.

Find the token on your Moodle instance's website in your user account settings as the security key for the Moodle mobile web service. If you cannot find it, make sure that your Moodle instance supports the Moodle mobile web service, which is also required for the official Moodle app. The token is being saved your config file.

-l, --lang <LANG>

A language to force for resource retrieval

-h, --help

Print help (see a summary with '-h')

From edu-sync 0.3.0-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.