Redo Page

Redo CLI

Work on your site from the terminal.

The CLI pulls your site into a local .redo folder. You edit files. Then you push them back. It is a bridge with a toolbox.

npm install -g @redopage/cli
redo login
redo pull page 1
redo dev
redo push page 1

The short story

Redo stays online. Your edits happen in local files. The CLI moves work both ways.

Redo site
  ↓ pull
.redo folder
  ↓ edit
Redo site
  ↑ push

How it works

1

Log in

The browser asks you to approve the CLI. Then the CLI gets a token.

2

Pick a site

The CLI uses this site until you switch.

3

Pull files

Pages and blocks come down to your .redo folder.

4

Push edits

Your local changes go back to Redo.

What you can do

  • List pages and blocks.
  • Read site content.
  • Pull files to .redo.
  • Run a local preview.
  • Push edits back.
  • Upload media.
  • Publish when the site is ready.

Two command names

redo is the main command. cms is the same CLI with a short name.

redo --help
cms --help

Safety

Pull with care

redo pull writes files in .redo. Save your work before you pull again.

Delete asks first

redo delete asks before it deletes. Scripts must pass --yes.

Need more?

The full docs explain each command group.

Read CLI docs