PresetsScripts

Get started

Manage CLI script presets

Script presets are a simple and easy way to reuse code with the CLI. You can group code files and instructions into a preset and reuse it when generating a new project or even in existing ones. This helps reduce the manual work of copying and pasting files.

Getting Started

To use this feature, start by running the CLI:

npx constatic@latest

Then, in the main menu, select the Manage presets option.

โ‘ Main menuโ—ˆ Init discord bot projectโ—ˆ Manage discord emojisโ—ˆ Manage presetsโ˜ฐ Settingsโœ• Quit

After that, select the script presets:

โ‘ Presets๐Ÿ— Scriptsโ˜ต Tokensโคถ Back

After that, you'll see the menu where you can create and manage script presets.

Creating and Managing

On this page