schemory
v0.1.15
Published
CLI tool for Schemory
Readme
Schemory CLI
Schemory CLI - Share TypeScript types and JSON schemas with your team.
Installation
npx schemory --helpOr install globally:
npm install -g schemory
schemory --helpUsage
One-time Setup
- Signup - Register a new account
schemory signup [email protected]Activate - Click the activation link sent to your email
Login - Authenticate with your access token
schemory login sk_your_access_token- Join - Join a team
schemory join your-team-nameSync Commands
- Push - Push a schema or type to your team
schemory push UserSchema- Pull - Pull a schema or type from your team
schemory pull UserSchema- Pull All - Pull all schemas and types from your team
schemory pullAllLocal File Format
- Schemas: Stored as
.schemory/items/schemas/{name}.json - Types: Stored as
.schemory/items/types/{name}.ts
Configuration
Configuration is stored in ~/.schemory/config.json or .schemory/config.json in your project.
Development
Publishing new versions
cd cli
npm version patch # or: minor, major
npm publishOr as a one-liner:
cd cli && npm version patch && npm publishVersion
0.1.0
