A CLI tool to help you create and manage content for your cState status page.
You can install cstate-cli globally using npm:
npm install -g cstate-cliOr, you can use it directly with npx:
npx cstate-cli <command>The main help command for cstate-cli.
Creates a new incident or informational post in your cState content/issues directory.
Example:
cstate createThis will guide you through an interactive prompt to create a new post.
Creates a new post from a pre-defined template.
Example:
cstate draftThis will ask you to choose a template and then guide you through an interactive prompt.
Available Templates:
Incident PostMaintenanceExperimentPostmortem
Runs the Hugo development server with the cState theme.
Example:
cstate devThis is useful for previewing the cState root repository exampleSite locally during development.
An alias for hugo serve. You can pass any Hugo server options to this command.
Example:
cstate serve --contentDir=exampleSite/contentAn alias for hugo build.
Example:
cstate buildIf you find a bug or have a feature request, please open an issue on the GitHub repository.
If you want to contribute code, please fork the repository and submit a pull request.
MIT
(C) Mantas Vilčinskas