Skip to main content

Plan CLI

CLI tool for HTML Plan Service - Create, manage, and share HTML plans.

Features

  • Create, update, delete plans
  • Publish/unpublish plans (public URL)
  • Pin plans via the web dashboard

Installation

# One-line install
curl -sSL https://raw.githubusercontent.com/Jemo69/html-planner-server/main/cli/install.sh | bash

Or manually:

cd cli
uv sync

Usage

Configuration

# Show current config
plan config show

# Set API URL
plan config set --api-url https://html-planner-server.fly.dev

# Get current API URL
plan config get

Authentication

# Register a new account
plan auth init --email your@email.com

# Login to existing account
plan auth login --email your@email.com

Plans

# Create a plan
plan plans create --project <project-id> --title "My Plan" --html plan.html

# List all plans
plan plans list

# List plans for a project
plan plans list --project <project-id>

# Get plan details
plan plans get <plan-id>

# Update a plan
plan plans update <plan-id> --html updated.html

# Delete a plan
plan plans delete <plan-id>

# Publish a plan (make public)
plan plans publish <plan-id>

# Unpublish a plan (make private)
plan plans unpublish <plan-id>

# Archive a plan
plan plans archive <plan-id>

# Restore an archived plan
plan plans unarchive <plan-id>

Configuration

The CLI stores configuration in ~/.plan-cli/config.json:

{
  "api_url": "http://localhost:8000",
  "api_key": "your-api-key"
}

Frontmatter Support

HTML files can include YAML frontmatter:

---
title: My Plan Title
description: Brief description
tags: [architecture, api-design]
visibility: public
---
<!DOCTYPE html>
<html>
...
</html>

The CLI will extract metadata from frontmatter and use it when creating plans.

Metadata

Release files for plan-cli 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plan-cli 0.2.2
File Size Uploaded Provenance Actions
plan_cli-0.2.2.tar.gz 17.3 kB Without provenance Details for plan_cli-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for plan-cli 0.2.2
File Interpreter ABI Platform Actions
plan_cli-0.2.2-py3-none-any.whl Python 3 none any Details for plan_cli-0.2.2-py3-none-any.whl

Total release size: 30.0 kB

Release files / plan_cli-0.2.2.tar.gz

Download URL plan_cli-0.2.2.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
25d7f46a9d7ff7ff3831ed324348bf91689485eeb955a8d111c4f40665ed847b
BLAKE2b-256 checksum
How to use checksums
b3cfc8da5a2a4333c611b08cea86b35f0a3fbbf96323c0e5d21642098cb2df12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / plan_cli-0.2.2-py3-none-any.whl

Download URL plan_cli-0.2.2-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a2c2e441251096cc77b5df89d85f81f60ab255ef4adb451dadcd4d90e5431ec
BLAKE2b-256 checksum
How to use checksums
d15d44d673ecd0afc029425531d37e020642c3a09893a17e3803d2a26703513c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for plan-cli 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page