Skip to content

CLI tool! cstate draft as a new way to create incidents #333

@mistermantas

Description

@mistermantas

cstate-cli is here to make managing your cState status page a breeze! 🚀

I'm excited to announce the first release of cstate-cli, a command-line tool designed to simplify creating and managing content for your cState status pages.

What it does:

  • ⚡️ cstate create: Interactively create new incident or informational posts.
  • 📝 cstate draft: Quickly draft posts from templates (Incident Post, Maintenance, Experiment, Postmortem).
  • 💻 cstate dev: Run a local Hugo development server with the cState theme.
  • 🔨 cstate serve & cstate build: Handy aliases for Hugo's serve and build commands.

Why you'll love it:

  • Saves time: Automates tedious tasks.
  • Reduces errors: Ensures consistent formatting.
  • Improves workflow: Streamlines content creation.

Get started:

# Install globally
npm install -g cstate-cli

# Or use with npx
npx cstate-cli <command>

Example:

cstate draft

This will prompt you to choose a template and guide you through creating a new post.

Check out the full documentation and usage instructions in the README.

I hope you find cstate-cli helpful! Feedback and contributions are always welcome. ✨

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions