All apps/Sapphire CLI

Sapphire CLI

sapphire

CLI for the Sapphire Framework for Discord bots.

Runs as sapphire|macOS, Linux, Windows|www.sapphirejs.dev

Command form

ai-draft · 2 tasks · 4 fields

Create a project or generate a component.

Opens the form; the finished command lands at your prompt, unrun
otty gui sapphire

sapphire new

Create a project
Create a projectExample values, fixed in this page — nothing here reaches a terminal
Basic
Project name
string
TasksEach one presets the form for one job
New project
name
ParametersOnly these flags are editable in the form
Project name
string · positional 0
Verbose
boolean
--verbose-v

sapphire generate

Generate a component
Generate a componentExample values, fixed in this page — nothing here reaches a terminal
Basic
Component type*
string
File name*
string
TasksEach one presets the form for one job
Generate
componentname
ParametersOnly these flags are editable in the form
Component type
string · positional 0
File name
string · positional 1
SourcesEvery flag above is checked against these
src
completion

github.com

src
completion

github.com

src
completion

github.com

Before it fills your prompt, Otty checks the installed sapphire against its version. A form that does not match your version is not offered.