SchedPlus

CLI Reference

CurrentPublication 1By @ZFordDev

SchedPlus Command-Line Reference

SchedPlus provides a command-line interface (CLI) for managing tasks, creating backups, importing data and checking for updates.

The CLI shares the same SQLite database and task validation rules as the desktop interfaces.

Successful commands write their results to standard output. Errors return the following exit codes:

Exit code Meaning
0 Command completed successfully
1 Database or update failure
2 Invalid input or validation error

Installation and Launchers

The CLI is available through several SchedPlus editions:

Installation Launcher
Debian CLI-only package schedplus-cli
Windows CLI portable ZIP schedplus-cli
Standard package schedplus
Full source installation schedplus

Debian users: The CLI-only and Standard packages are mutually exclusive. The Standard package already supports the commands in this guide, so installing both is unnecessary.

For package installation details, see the Packaging Guide.

Check the Installed Version

bash
schedplus --version

Example output:

text
SchedPlus vX.Y.Z

Packaged releases use embedded build metadata to identify the installed version. Source installations fall back to installed Python package metadata.

Managing Tasks

Create a Task

bash
schedplus add "Buy milk" --date 2026-08-20 --time 14:00

Dates use YYYY-MM-DD, and times use the 24-hour HH:MM format.

List Tasks

bash
schedplus list

Tasks are sorted by date by default.

To change the order:

bash
schedplus list --sort time --descending

The --sort option accepts:

Value Sort by
date Task date
time Task time
text Task description

Add --descending to reverse the selected order.

Filter Tasks

bash
schedplus list --filter active
schedplus list --filter completed
schedplus list --filter all

The available filters are all, active and completed.

Edit a Task

bash
schedplus edit 7c94a2 --text "Buy milk and bread" --time 15:00

You can change one or more fields using --text, --date and --time.

At least one field must be provided.

Delete a Task

bash
schedplus delete 7c94a2

Complete or Reopen a Task

Mark a task as completed:

bash
schedplus complete 7c94a2

Mark it as incomplete again:

bash
schedplus complete 7c94a2 --uncomplete

Task IDs

Each task has a unique UUID.

For editing and deleting tasks, you can provide either the complete ID or an unambiguous prefix, as shown in the examples above.

SchedPlus rejects unknown or ambiguous prefixes to prevent changes to the wrong task.

Backup and Data Management

Create a Backup

bash
schedplus backup SchedPlus-backup.json

Backups contain tasks, local update preferences and portable interface preferences.

Restore a Backup

bash
schedplus restore SchedPlus-backup.json --yes

The --yes flag is required to confirm replacement of existing data.

Before restoring, SchedPlus validates the complete versioned JSON file and automatically saves a safety backup of the current data.

Export Tasks

bash
schedplus export SchedPlus-tasks.json

Exports tasks using a separate versioned JSON format intended for transferring task data.

Import Tasks

bash
schedplus import SchedPlus-tasks.json

Import adds new task IDs without overwriting existing records.

Result Behaviour
New task ID Imported
Existing ID with identical values Reported as a duplicate and skipped
Existing ID with different values Reported as a conflict and skipped

Backup, restore, export and import operate on local files. These commands do not upload data.

Application Updates

SchedPlus provides four update commands:

bash
schedplus update status
schedplus update check
schedplus update install
schedplus update rollback
Command Purpose
update status Display the most recently recorded update result
update check Check for an available compatible update
update install Download and prepare a verified update
update rollback Roll back a supported update

Update Compatibility

Update installation is restricted to the exact edition, operating system, architecture and package format identified by the signed update manifest.

Behaviour depends on the installation type:

Package type Update behaviour
Windows portable Uses an external updater with rollback support
Debian Provides a verified local download for normal package installation
AppImage Provides a verified local download for normal platform installation
Direct-download Windows installer Internal updates disabled under the current unsigned-installer policy
Snap Updated through its package provider
Microsoft Store Updated through the Microsoft Store
Source checkout Updated through the development workflow

Update commands are intended for compatible packaged builds. Not every installation supports self-updating or rollback.

Command Help

Display general CLI help:

bash
schedplus --help

Display help for a specific command:

bash
schedplus add --help

Replace add with the command you want to inspect.

The legacy --raw form remains available as a compatibility alias for direct CLI commands:

bash
schedplus --raw list
DocsHub · Capybara

Documentation

SSchedPlus@ZFordDev