TD-DO LIST FOR VERSION 1
- Do better documentation
☀️ CORE
- Finish data validator
🧰 TOOLKIT
- A function that builds the schema from Clippium data Example:
bash
clippium-toolkit create schema ./clippium-data.js -o ./dist/schema.json
- A function that builds the Clippium data from a schema Example:
bash
clippium-toolkit create data ./schema.json -o ./src/data.ts
- A function that builds the Clippium data from a TypeScript type and exports it in a separate
.ts
or.js
file Example:
bash
clippium-toolkit create data ./types.ts --type MyType -o ./src/data.ts
Output:
js
// Automatically generated by clippium
export default {
name: 'name',
description: 'description',
options: [
{
name: 'name',
description: 'description',
type: 'string',
required: true,
},
],
}
RUNTIME UTILS
NOTE: Try compatibility with web/node and other runtimes
Libs
- Color: A function to add color
- Updater: A function to notify about package updates
- i18n: A translation function
Configuration
- A configuration to enable color output in Clippium
- A configuration where basic Clippium options like help, version, etc. are defined
- A configuration that allows the user to provide command configurations via json|yaml|toml|js|ts
- A configuration that allows the user to place command configurations inside the app's package.json using the command name as the key